[Webkit-unassigned] [Bug 246523] New: Fix even more misc compiler warnings, mid October 2022 edition
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 14 08:30:33 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=246523
Bug ID: 246523
Summary: Fix even more misc compiler warnings, mid October 2022
edition
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at gnome.org
CC: bugs-noreply at webkitgtk.org
[1878/2405] Building CXX object Source/WebKit/CMakeFiles/...ces/WebKit/unified-sources/UnifiedSource-123a7f2f-1.cpp.o
In file included from /home/mcatanzaro/Projects/WebKit/WebKitBuild/gtk3/WTF/Headers/wtf/FastMalloc.h:26,
from /home/mcatanzaro/Projects/WebKit/Source/WebKit/config.h:42,
from /home/mcatanzaro/Projects/WebKit/Source/WebKit/Platform/LogInitialization.cpp:26,
from /home/mcatanzaro/Projects/WebKit/WebKitBuild/gtk3/DerivedSources/WebKit/unified-sources/UnifiedSource-123a7f2f-1.cpp:1:
/home/mcatanzaro/Projects/WebKit/Source/WebKit/Platform/IPC/ArgumentCoders.cpp: In static member function ‘static std::optional<std::array<unsigned char, 20> > IPC::ArgumentCoder<std::array<unsigned char, 20> >::decode(IPC::Decoder&)’:
/home/mcatanzaro/Projects/WebKit/WebKitBuild/gtk3/WTF/Headers/wtf/StdLibExtras.h:610:58: warning: redundant move in return statement [-Wredundant-move]
610 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/WebKit/Platform/IPC/ArgumentCoders.cpp:179:12: note: in expansion of macro ‘WTFMove’
179 | return WTFMove(digest);
| ^~~~~~~
/home/mcatanzaro/Projects/WebKit/WebKitBuild/gtk3/WTF/Headers/wtf/StdLibExtras.h:610:58: note: remove ‘std::move’ call
610 | #define WTFMove(value) std::move<WTF::CheckMoveParameter>(value)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/mcatanzaro/Projects/WebKit/Source/WebKit/Platform/IPC/ArgumentCoders.cpp:179:12: note: in expansion of macro ‘WTFMove’
179 | return WTFMove(digest);
| ^~~~~~~
[1978/2405] Building CXX object Source/WebKit/CMakeFiles/...ces/WebKit/unified-sources/UnifiedSource-88d1702b-2.cpp.o
In file included from /home/mcatanzaro/Projects/WebKit/WebKitBuild/gtk3/DerivedSources/WebKit/unified-sources/UnifiedSource-88d1702b-2.cpp:7:
/home/mcatanzaro/Projects/WebKit/Source/WebKit/UIProcess/ProcessThrottler.cpp: In member function ‘std::optional<WebKit::ProcessAssertionType> WebKit::ProcessThrottler::assertionTypeForState(WebKit::ProcessThrottleState)’:
/home/mcatanzaro/Projects/WebKit/Source/WebKit/UIProcess/ProcessThrottler.cpp:156:1: warning: control reaches end of non-void function [-Wreturn-type]
156 | }
--
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/20221014/65358497/attachment-0001.htm>
More information about the webkit-unassigned
mailing list