diff --git a/Userland/Libraries/LibIPC/Decoder.cpp b/Userland/Libraries/LibIPC/Decoder.cpp index edc0ea38f3..19fc53ef5a 100644 --- a/Userland/Libraries/LibIPC/Decoder.cpp +++ b/Userland/Libraries/LibIPC/Decoder.cpp @@ -167,6 +167,7 @@ ErrorOr Decoder::decode([[maybe_unused]] File& file) file = File(fd, File::ConstructWithReceivedFileDescriptor); return {}; #else + [[maybe_unused]] auto fd = m_sockfd; return Error::from_string_literal("File descriptor passing not supported on this platform"); #endif }