diff --git a/Userland/DevTools/IPCCompiler/main.cpp b/Userland/DevTools/IPCCompiler/main.cpp index 48a203a17ba..4e2d61f3176 100644 --- a/Userland/DevTools/IPCCompiler/main.cpp +++ b/Userland/DevTools/IPCCompiler/main.cpp @@ -189,11 +189,11 @@ int main(int argc, char** argv) auto parse_messages = [&] { for (;;) { - consume_whitespace(); - parse_message(); consume_whitespace(); if (lexer.peek() == '}') break; + parse_message(); + consume_whitespace(); } }; @@ -366,7 +366,7 @@ public: static i32 static_message_id() { return (int)MessageID::@message.pascal_name@; } virtual const char* message_name() const override { return "@endpoint.name@::@message.pascal_name@"; } - static OwnPtr<@message.pascal_name@> decode(InputMemoryStream& stream, int sockfd) + static OwnPtr<@message.pascal_name@> decode(InputMemoryStream& stream, [[maybe_unused]] int sockfd) { IPC::Decoder decoder { stream, sockfd }; )~~~"); @@ -629,7 +629,7 @@ public: static u32 static_magic() { return @endpoint.magic@; } - static OwnPtr decode_message(ReadonlyBytes buffer, int sockfd) + static OwnPtr decode_message(ReadonlyBytes buffer, [[maybe_unused]] int sockfd) { InputMemoryStream stream { buffer }; u32 message_endpoint_magic = 0; diff --git a/Userland/DevTools/Inspector/InspectorServerClient.h b/Userland/DevTools/Inspector/InspectorServerClient.h index b694acef2f0..926efac0066 100644 --- a/Userland/DevTools/Inspector/InspectorServerClient.h +++ b/Userland/DevTools/Inspector/InspectorServerClient.h @@ -25,8 +25,6 @@ private: : IPC::ServerConnection(*this, "/tmp/portal/inspector") { } - - virtual void dummy() override { } }; } diff --git a/Userland/Libraries/LibDesktop/Launcher.cpp b/Userland/Libraries/LibDesktop/Launcher.cpp index 3ab43c60205..89953ebe304 100644 --- a/Userland/Libraries/LibDesktop/Launcher.cpp +++ b/Userland/Libraries/LibDesktop/Launcher.cpp @@ -43,7 +43,6 @@ private: : IPC::ServerConnection(*this, "/tmp/portal/launch") { } - virtual void dummy() override { } }; static LaunchServerConnection& connection() diff --git a/Userland/Libraries/LibGUI/Notification.cpp b/Userland/Libraries/LibGUI/Notification.cpp index 1af051f23ec..5abd551dcbf 100644 --- a/Userland/Libraries/LibGUI/Notification.cpp +++ b/Userland/Libraries/LibGUI/Notification.cpp @@ -30,7 +30,6 @@ private: , m_notification(notification) { } - virtual void dummy() override { } Notification* m_notification; }; diff --git a/Userland/Libraries/LibImageDecoderClient/Client.cpp b/Userland/Libraries/LibImageDecoderClient/Client.cpp index 4d8983955e5..6c2c9fab702 100644 --- a/Userland/Libraries/LibImageDecoderClient/Client.cpp +++ b/Userland/Libraries/LibImageDecoderClient/Client.cpp @@ -20,10 +20,6 @@ void Client::die() on_death(); } -void Client::dummy() -{ -} - Optional Client::decode_image(const ByteBuffer& encoded_data) { if (encoded_data.is_empty()) diff --git a/Userland/Libraries/LibImageDecoderClient/Client.h b/Userland/Libraries/LibImageDecoderClient/Client.h index 40e588d3ea9..dfe18fcf474 100644 --- a/Userland/Libraries/LibImageDecoderClient/Client.h +++ b/Userland/Libraries/LibImageDecoderClient/Client.h @@ -38,8 +38,6 @@ private: Client(); virtual void die() override; - - virtual void dummy() override; }; } diff --git a/Userland/Services/ImageDecoder/ImageDecoderClient.ipc b/Userland/Services/ImageDecoder/ImageDecoderClient.ipc index 5241bb55519..73dc57c2fe6 100644 --- a/Userland/Services/ImageDecoder/ImageDecoderClient.ipc +++ b/Userland/Services/ImageDecoder/ImageDecoderClient.ipc @@ -1,4 +1,3 @@ endpoint ImageDecoderClient { - dummy() =| } diff --git a/Userland/Services/InspectorServer/InspectorClient.ipc b/Userland/Services/InspectorServer/InspectorClient.ipc index bd0021d6320..b77365f0a3f 100644 --- a/Userland/Services/InspectorServer/InspectorClient.ipc +++ b/Userland/Services/InspectorServer/InspectorClient.ipc @@ -1,4 +1,3 @@ endpoint InspectorClient { - dummy() =| } diff --git a/Userland/Services/LaunchServer/LaunchClient.ipc b/Userland/Services/LaunchServer/LaunchClient.ipc index 97636114fac..6bec1250471 100644 --- a/Userland/Services/LaunchServer/LaunchClient.ipc +++ b/Userland/Services/LaunchServer/LaunchClient.ipc @@ -1,4 +1,3 @@ endpoint LaunchClient { - dummy() =| } diff --git a/Userland/Services/LookupServer/LookupClient.ipc b/Userland/Services/LookupServer/LookupClient.ipc index f287577d514..6a4d465b82f 100644 --- a/Userland/Services/LookupServer/LookupClient.ipc +++ b/Userland/Services/LookupServer/LookupClient.ipc @@ -1,4 +1,3 @@ endpoint LookupClient { - dummy() =| } diff --git a/Userland/Services/NotificationServer/NotificationClient.ipc b/Userland/Services/NotificationServer/NotificationClient.ipc index a976801f0ba..eff81745b62 100644 --- a/Userland/Services/NotificationServer/NotificationClient.ipc +++ b/Userland/Services/NotificationServer/NotificationClient.ipc @@ -1,4 +1,3 @@ endpoint NotificationClient { - dummy() =| }