Summary: | gcc warnings in ASCIICType.h and Font.h | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Benjamin K. Stuhl <bks24> | ||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Trivial | ||||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Benjamin K. Stuhl
2008-10-30 10:02:59 PDT
Created attachment 24773 [details]
patch: add parentheses to disambiguate things
Here's a patch to add disambiguating parentheses and quiet the warnings. It's my first patch to WebKit, so let me know what else I need to do. Comment on attachment 24773 [details]
patch: add parentheses to disambiguate things
r=me for these changes. I am not sure that as a rule this should be done everywhere where some compiler might suggest it.
Agreed, there may be places where just adding parentheses is not a great idea -- but getting a page of warnings from every file that includes ASCIICType.h isn't great either. Will you be landing the patch, then? |