[Webkit-unassigned] [Bug 33003] New: Use explicit parentheses to silence gcc 4.4 -Wparentheses warnings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 28 18:43:23 PST 2009


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

           Summary: Use explicit parentheses to silence gcc 4.4
                    -Wparentheses warnings
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: laszlo.1.gombos at nokia.com


Warnings found in debug builds only.

This patch is similar to the previously committed r42002 and r50675.

List of warnings:
WebCore/editing/CompositeEditCommand.cpp: In member function ‘bool
WebCore::CompositeEditCommand::breakOutOfEmptyMailBlockquotedParagraph()’:
WebCore/editing/CompositeEditCommand.cpp:1093: warning: suggest parentheses
around ‘&&’ within ‘||’
WebCore/page/animation/ImplicitAnimation.cpp: In member function ‘bool
WebCore::ImplicitAnimation::sendTransitionEvent(const WebCore::AtomicString&,
double)’:
WebCore/page/animation/ImplicitAnimation.cpp:164: warning: suggest parentheses
around ‘&&’ within ‘||’
WebCore/page/animation/KeyframeAnimation.cpp: In member function ‘bool
WebCore::KeyframeAnimation::sendAnimationEvent(const WebCore::AtomicString&,
double)’:
WebCore/page/animation/KeyframeAnimation.cpp:284: warning: suggest parentheses
around ‘&&’ within ‘||’
WebCore/rendering/RenderSVGContainer.h: In function
‘WebCore::RenderSVGContainer*
WebCore::toRenderSVGContainer(WebCore::RenderObject*)’:
WebCore/rendering/RenderSVGContainer.h:81: warning: suggest parentheses around
‘&&’ within ‘||’
WebCore/rendering/RenderSVGContainer.h: In function ‘const
WebCore::RenderSVGContainer* WebCore::toRenderSVGContainer(const
WebCore::RenderObject*)’:
WebCore/rendering/RenderSVGContainer.h:88: warning: suggest parentheses around
‘&&’ within ‘||’
WebCore/rendering/style/RenderStyle.cpp: In member function ‘void
WebCore::RenderStyle::setTextShadow(WebCore::ShadowData*, bool)’:
WebCore/rendering/style/RenderStyle.cpp:705: warning: suggest parentheses
around ‘&&’ within ‘||’
WebCore/svg/graphics/SVGPaintServerGradient.cpp: In member function ‘virtual
bool WebCore::SVGPaintServerGradient::setup(WebCore::GraphicsContext*&, const
WebCore::RenderObject*, WebCore::SVGPaintTargetType, bool) const’:
WebCore/svg/graphics/SVGPaintServerGradient.cpp:196: warning: suggest
parentheses around ‘&&’ within ‘||’
WebCore/svg/graphics/SVGPaintServerPattern.cpp: In member function ‘virtual
bool WebCore::SVGPaintServerPattern::setup(WebCore::GraphicsContext*&, const
WebCore::RenderObject*, WebCore::SVGPaintTargetType, bool) const’:
WebCore/svg/graphics/SVGPaintServerPattern.cpp:106: warning: suggest
parentheses around ‘&&’ within ‘||’

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