mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-04 23:19:27 +00: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
|
@ -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 a new issue