WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
242198
Fix unused variable warning in RenderElement.cpp
https://bugs.webkit.org/show_bug.cgi?id=242198
Summary
Fix unused variable warning in RenderElement.cpp
Michael Catanzaro
Reported
2022-06-30 11:23:52 PDT
[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()) { | ^~~~~~~~~~~
Attachments
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2022-06-30 11:25:43 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/1955
EWS
Comment 2
2022-06-30 12:09:03 PDT
Committed
252007@main
(93d586729821): <
https://commits.webkit.org/252007@main
> Reviewed commits have been landed. Closing PR #1955 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2022-06-30 12:10:13 PDT
<
rdar://problem/96237212
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug