From 41d042cc86d1ac7f99be141eff4e2966e933da73 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 25 Nov 2020 18:51:33 +0000 Subject: [PATCH] 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. --- Libraries/LibIPC/Decoder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/LibIPC/Decoder.cpp b/Libraries/LibIPC/Decoder.cpp index 35e987cc9f..438c1ddbb5 100644 --- a/Libraries/LibIPC/Decoder.cpp +++ b/Libraries/LibIPC/Decoder.cpp @@ -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