[Webkit-unassigned] [Bug 40001] New: Fix "variable may be used before being set" warning in TextResourceDecoder::checkForHeadCharset
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jun 1 08:26:13 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40001
Summary: Fix "variable may be used before being set" warning in
TextResourceDecoder::checkForHeadCharset
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Page Loading
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: laszlo.1.gombos at nokia.com
The warning is coming from the RVCT compiler:
"\webkit\WebCore\loader\textresourcedecoder.cpp", line 571: Warning: C2874W: len may be used before being set
int len;
^
Checking the code revealed that this might be a limitation of the compiler as the code is correct and the value of len never read before it gets initialized. I propose to initialize len to 0 just to eliminate the false compiler warning.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list