gcc warning: ..\..\..\WebCore\rendering\RenderBoxModelObject.cpp: In member function 'void WebCore::RenderBoxModelObject::clipBorderSidePolygon(WebCore::GraphicsContext*, const WebCore::IntRect&, const WebCore::IntSize&, const WebCore::IntSize&, const WebCore::IntSize&, const WebCore::IntSize&, WebCore::BoxSide, bool, bool, const WebCore::RenderStyle*)': ..\..\..\WebCore\rendering\RenderBoxModelObject.cpp:1529:62: warning: operation on 'firstQuad[2]' may be undefined This warning introduced in http://trac.webkit.org/changeset/63864 : 1528 firstQuad[2] = side == BSTop || side == BSBottom ? FloatPoint(quad[3].x(), quad[2].y()) 1529 : firstQuad[2] = FloatPoint(quad[2].x(), quad[3].y()); Assignment in the false case of ternary condition is useless, and evaluating of undefined firstQuad[2] cause this warning.
Created attachment 63324 [details] proposed fix
Comment on attachment 63324 [details] proposed fix r=me
Comment on attachment 63324 [details] proposed fix Clearing flags on attachment: 63324 Committed r64553: <http://trac.webkit.org/changeset/64553>
All reviewed patches have been landed. Closing bug.