mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +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:
committed by
Andreas Kling
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
|
||||
|
||||
Reference in New Issue
Block a user