[Webkit-unassigned] [Bug 212823] New: Unused parameter warnings in EventRegion.cpp and RenderLayerBacking.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 5 08:23:10 PDT 2020


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

            Bug ID: 212823
           Summary: Unused parameter warnings in EventRegion.cpp and
                    RenderLayerBacking.cpp
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org

[1339/1877] Building CXX object Source/WebCore/CMakeFiles...es/WebCore/unified-sources/UnifiedSource-043dd90b-2.cpp.o
In file included from DerivedSources/WebCore/unified-sources/UnifiedSource-043dd90b-2.cpp:3:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/rendering/EventRegion.cpp: In member function ‘void WebCore::EventRegion::unite(const WebCore::Region&, const WebCore::RenderStyle&, bool)’:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/rendering/EventRegion.cpp:120:66: warning: unused parameter ‘style’ [-Wunused-parameter]
  120 | void EventRegion::unite(const Region& region, const RenderStyle& style, bool overrideUserModifyIsEditable)
      |                                               ~~~~~~~~~~~~~~~~~~~^~~~~
[1392/1877] Building CXX object Source/WebCore/CMakeFiles...es/WebCore/unified-sources/UnifiedSource-043dd90b-9.cpp.o
In file included from DerivedSources/WebCore/unified-sources/UnifiedSource-043dd90b-9.cpp:2:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/rendering/RenderLayerBacking.cpp: In member function ‘void WebCore::RenderLayerBacking::paintDebugOverlays(const WebCore::GraphicsLayer*, WebCore::GraphicsContext&)’:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/rendering/RenderLayerBacking.cpp:3203:10: warning: unused variable ‘visibleDebugOverlayRegions’ [-Wunused-variable]
 3203 |     auto visibleDebugOverlayRegions = renderer().settings().visibleDebugOverlayRegions();
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/WebCore/rendering/RenderLayerBacking.cpp: At global scope:
/home/mcatanzaro/Projects/WebKit/Source/WebCore/rendering/RenderLayerBacking.cpp:3094:24: warning: ‘WTF::RefPtr<WebCore::Pattern> WebCore::patternForDescription(WebCore::PatternDescription, WebCore::FloatSize, WebCore::GraphicsContext&)’ defined but not used [-Wunused-function]
 3094 | static RefPtr<Pattern> patternForDescription(PatternDescription description, FloatSize contentOffset, GraphicsContext& destContext)
      |                        ^~~~~~~~~~~~~~~~~~~~~

-- 
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/20200605/70064b17/attachment.htm>


More information about the webkit-unassigned mailing list