[Webkit-unassigned] [Bug 273116] New: Missing UNUSED_PARAM for screendisplayID in PlatformScreenWPE

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 23 03:05:47 PDT 2024


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

            Bug ID: 273116
           Summary: Missing UNUSED_PARAM for screendisplayID in
                    PlatformScreenWPE
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: pgorszkowski at igalia.com

If we compile webkit without ENABLE_WPE_PLATFORM then we get compiler error:

In file included from /home/pgorszkowski/WebKit/WebKitBuild/WPE/Release/WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-81.cpp:2:
/home/pgorszkowski/WebKit/Source/WebCore/platform/wpe/PlatformScreenWPE.cpp: In function ‘double WebCore::screenDPI(PlatformDisplayID)’:
/home/pgorszkowski/WebKit/Source/WebCore/platform/wpe/PlatformScreenWPE.cpp:97:36: error: unused parameter ‘screendisplayID’ [-Werror=unused-parameter]
   97 | double screenDPI(PlatformDisplayID screendisplayID)
      |                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

-- 
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/20240423/0e9d670f/attachment-0001.htm>


More information about the webkit-unassigned mailing list