Bug 273116
| Summary: | [WPE] Missing UNUSED_PARAM for screendisplayID in PlatformScreenWPE | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Przemyslaw Gorszkowski <pgorszkowski> |
| Component: | New Bugs | Assignee: | Przemyslaw Gorszkowski <pgorszkowski> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
Przemyslaw Gorszkowski
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Przemyslaw Gorszkowski
Pull request: https://github.com/WebKit/WebKit/pull/27626
EWS
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
<rdar://problem/126916093>