mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-30 14:43:38 +03:00
LibIPC: Fix 'unused private member' error when building with clang
This was breaking the Lagom build when using clang, as m_sockfd's only use is behind an #ifdef __serenity__. (void) it elsewhere to fix that.
This commit is contained in:
parent
54ade31d84
commit
41d042cc86
Notes:
sideshowbarker
2024-07-19 01:16:16 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/41d042cc86d Pull-request: https://github.com/SerenityOS/serenity/pull/4164
@ -178,6 +178,7 @@ bool Decoder::decode(File& file)
|
||||
return true;
|
||||
#else
|
||||
(void)file;
|
||||
(void)m_sockfd;
|
||||
warnln("fd passing is not supported on this platform, sorry :(");
|
||||
return false;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user