mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 12:47:34 +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
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ bool Decoder::decode(File& file)
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
(void)file;
|
(void)file;
|
||||||
|
(void)m_sockfd;
|
||||||
warnln("fd passing is not supported on this platform, sorry :(");
|
warnln("fd passing is not supported on this platform, sorry :(");
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue