RESOLVED FIXED 273116
[WPE] Missing UNUSED_PARAM for screendisplayID in PlatformScreenWPE
https://bugs.webkit.org/show_bug.cgi?id=273116
Summary [WPE] Missing UNUSED_PARAM for screendisplayID in PlatformScreenWPE
Przemyslaw Gorszkowski
Reported 2024-04-23 03:05:47 PDT
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
Attachments
Przemyslaw Gorszkowski
Comment 1 2024-04-23 04:12:47 PDT
EWS
Comment 2 2024-04-23 05:55:20 PDT
Committed 277865@main (77fd27c0419a): <https://commits.webkit.org/277865@main> Reviewed commits have been landed. Closing PR #27626 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-04-23 05:56:18 PDT
Note You need to log in before you can comment on or make changes to this bug.