[Webkit-unassigned] [Bug 15764] New: compiler warning

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 30 07:39:11 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15764

           Summary: compiler warning
           Product: WebKit
           Version: 523.x+ (nightly)
          Platform: Other
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Trivial
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dacarson at gmail.com


Some compilers give a warning for the following function:

inline bool JSValue::isNumber() const
{
    return JSImmediate::isNumber(this) || !JSImmediate::isImmediate(this) &&
asCell()->isNumber();
}

"warning: suggest parentheses around && within ||"

This file is compiled into a lot of the JSCore files and the warning is seen
for every file.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list