[Webkit-unassigned] [Bug 242198] New: Remove unused variable in RenderElement.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 30 11:23:52 PDT 2022


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

            Bug ID: 242198
           Summary: Remove unused variable in RenderElement.cpp
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

[3822/6716] Building CXX object Source/WebCore/CMakeFiles/...ivedSources/unified-sources/UnifiedSource-043dd90b-7.cpp.o
In file included from /home/mcatanzaro/Projects/WebKit/WebKitBuild/GNOME-gtk3/WebCore/DerivedSources/unified-sources/UnifiedSource-043dd90b-7.cpp:4:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/rendering/RenderElement.cpp: In function ‘void WebCore::addLayers(const RenderElement&, RenderElement&, RenderLayer&)’:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/rendering/RenderElement.cpp:646:23: warning: unused variable ‘parentLayer’ [-Wunused-variable]
  646 |             if (auto* parentLayer = downcast<RenderLayerModelObject>(currentRenderer).layer()->parent()) {
      |                       ^~~~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220630/bcd62a33/attachment.htm>


More information about the webkit-unassigned mailing list