Changeset 60529 in webkit
- Timestamp:
- Jun 1, 2010 8:03:37 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r60528 r60529 1 2010-06-01 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Fix "variable may be used before being set" warning in TextResourceDecoder::checkForHeadCharset 6 https://bugs.webkit.org/show_bug.cgi?id=40001 7 8 No new tests as there is no new functionality. 9 10 Initialize len to 0 just to eliminate the compiler warning. 11 12 * loader/TextResourceDecoder.cpp: 13 (WebCore::TextResourceDecoder::checkForHeadCharset): 14 1 15 2010-06-01 Ilya Tikhonovsky <loislo@chromium.org> 2 16 -
trunk/WebCore/loader/TextResourceDecoder.cpp
r47950 r60529 569 569 return false; 570 570 // No need for +1, because we have an extra "?" to lose at the end of XML declaration. 571 int len ;571 int len = 0; 572 572 int pos = findXMLEncoding(ptr, xmlDeclarationEnd - ptr, len); 573 573 if (pos != -1)
Note: See TracChangeset
for help on using the changeset viewer.