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:
Linus Groh 2020-11-25 18:51:33 +00:00 committed by Andreas Kling
parent 54ade31d84
commit 41d042cc86
Notes: sideshowbarker 2024-07-19 01:16:16 +09:00

View file

@ -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