Bug 85110 - [chromium] Fix compiler warning in CCSchedulerTest.cpp with gcc 4.6.3
Summary: [chromium] Fix compiler warning in CCSchedulerTest.cpp with gcc 4.6.3
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tony Chang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-27 16:41 PDT by Tony Chang
Modified: 2012-05-02 15:10 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.80 KB, patch)
2012-04-27 16:42 PDT, Tony Chang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Chang 2012-04-27 16:41:22 PDT
[chromium] Fix compiler warning in CCSchedulerTest.cpp with gcc 4.6.3
Comment 1 Tony Chang 2012-04-27 16:42:30 PDT
Created attachment 139306 [details]
Patch
Comment 2 James Robinson 2012-04-27 16:50:37 PDT
Comment on attachment 139306 [details]
Patch

Can we enable this warning on other compilers/platforms?
Comment 3 WebKit Review Bot 2012-04-27 19:28:41 PDT
Comment on attachment 139306 [details]
Patch

Clearing flags on attachment: 139306

Committed r115527: <http://trac.webkit.org/changeset/115527>
Comment 4 WebKit Review Bot 2012-04-27 19:28:45 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Tony Chang 2012-05-02 15:08:33 PDT
It looks like this was added to clang here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120312/054984.html

Not sure if it's part of -Wall or not, maybe Nico knows?
Comment 6 Nico Weber 2012-05-02 15:10:16 PDT
It's part of -Wall, but clang suppresses the warning in a few cases (one of them got changed last week, so maybe clang will warn on this next week)