• timothy@apple.com's avatar
    Add parentheses to fix some gcc warnings. · e95b7576
    timothy@apple.com authored
    JavaScriptCore:
    
    2008-10-30  Benjamin K. Stuhl  <bks24@cornell.edu>
    
            gcc 4.3.3/linux-x86 generates "suggest parentheses around && within ||"
            warnings; add some parentheses to disambiguate things. No functional
            changes, so no tests.
    
            https://bugs.webkit.org/show_bug.cgi?id=21973
            Add parentheses to clean up some gcc warnings
    
            Reviewed by Dan Bernstein.
    
            * wtf/ASCIICType.h:
            (WTF::isASCIIAlphanumeric):
            (WTF::isASCIIHexDigit):
    
    WebCore:
    
    2008-10-30  Benjamin K. Stuhl  <bks24@cornell.edu>
    
            gcc 4.3.3/linux-x86 generates "suggest parentheses around && within ||"
            warnings; add some parentheses to disambiguate things. No functional
            changes, so no tests.
    
            https://bugs.webkit.org/show_bug.cgi?id=21973
            Add parentheses to clean up some gcc warnings
    
            Reviewed by Dan Bernstein.
    
            * platform/graphics/Font.h:
            (WebCore::Font::treatAsZeroWidthSpace):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    e95b7576