[Webkit-unassigned] [Bug 61026] New: Don't use DEFINE_STATIC_LOCAL with an unsigned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 18 00:28:22 PDT 2011


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

           Summary: Don't use DEFINE_STATIC_LOCAL with an unsigned
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: psolanki at apple.com
                CC: simon.fraser at apple.com


StorageTracker.cpp has

    DEFINE_STATIC_LOCAL(const unsigned, fileExtLength, (fileExt.length()));

DEFINE_STATIC_LOCAL is meant for objects, not unsigned ints. We can just use static here.

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