[Webkit-unassigned] [Bug 62097] New: ternary operator incorrectly identified as bitfield

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 4 13:53:29 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62097

           Summary: ternary operator incorrectly identified as bitfield
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex at milowski.com


After the patch for bug 54807 was applied, the style check now incorrectly identifies code like:

   int heightDiff = m_scripts ? (m_scripts->offsetHeight() - maxHeight) / 2 : 0;

as a bitfield.  I had to change the code to:


   int heightDiff = m_scripts ?
                (m_scripts->offsetHeight() - maxHeight) / 2 
                : 0;

to get it to pass the style check.

-- 
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