Changeset 94757 in webkit


Ignore:
Timestamp:
Sep 8, 2011 6:52:04 AM (13 years ago)
Author:
abecsi@webkit.org
Message:

[Qt] Build fails with strict compiler
https://bugs.webkit.org/show_bug.cgi?id=67778

Reviewed by Csaba Osztrogonác.

Source/ThirdParty/ANGLE:

  • src/compiler/glslang_lex.cpp: Regenerate with generate_glslang_lexer.sh using a newer flex

to suppress warning and fix the build when using [-Werror=unused-result]

Source/WebCore:

No new tests needed.

  • platform/graphics/TiledBackingStore.cpp:

(WebCore::TiledBackingStore::resizeEdgeTiles): Remove unused contentsRect variable
which's usage was removed in r94681 to fix the build with [-Werror=unused-but-set-variable].

Location:
trunk/Source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/ANGLE/ChangeLog

    r93005 r94757  
     12011-09-08  Andras Becsi  <andras.becsi@nokia.com>
     2
     3        [Qt] Build fails with strict compiler
     4        https://bugs.webkit.org/show_bug.cgi?id=67778
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        * src/compiler/glslang_lex.cpp: Regenerate with generate_glslang_lexer.sh using a newer flex
     9        to suppress warning and fix the build when using [-Werror=unused-result]
     10
    1112011-08-12  Mark Rowe  <mrowe@apple.com>
    212
  • trunk/Source/ThirdParty/ANGLE/src/compiler/glslang_lex.cpp

    r76091 r94757  
    860860void yyset_lineno (int line_number ,yyscan_t yyscanner );
    861861
     862int yyget_column  (yyscan_t yyscanner );
     863
     864void yyset_column (int column_no ,yyscan_t yyscanner );
     865
    862866YYSTYPE * yyget_lval (yyscan_t yyscanner );
    863867
     
    910914 * we now use fwrite().
    911915 */
    912 #define ECHO fwrite( yytext, yyleng, 1, yyout )
     916#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
    913917#endif
    914918
     
    921925                { \
    922926                int c = '*'; \
    923                 int n; \
     927                unsigned n; \
    924928                for ( n = 0; n < max_size && \
    925929                             (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  • trunk/Source/WebCore/ChangeLog

    r94755 r94757  
     12011-09-08  Andras Becsi  <andras.becsi@nokia.com>
     2
     3        [Qt] Build fails with strict compiler
     4        https://bugs.webkit.org/show_bug.cgi?id=67778
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        No new tests needed.
     9
     10        * platform/graphics/TiledBackingStore.cpp:
     11        (WebCore::TiledBackingStore::resizeEdgeTiles): Remove unused contentsRect variable
     12        which's usage was removed in r94681 to fix the build with [-Werror=unused-but-set-variable].
     13
    1142011-09-08  Sheriff Bot  <webkit.review.bot@gmail.com>
    215
  • trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp

    r94685 r94757  
    341341bool TiledBackingStore::resizeEdgeTiles()
    342342{
    343     IntRect contentsRect = this->contentsRect();
    344343    bool wasResized = false;
    345344
Note: See TracChangeset for help on using the changeset viewer.