Fix unused parameter warnings
[petitboot] / discover / discover-server.c
index 8d7283811eb0af721404f85c90a7891cb522a157..b2025cce5e233e4f1232bba021303bb9733b5abe 100644 (file)
@@ -76,7 +76,8 @@ static void print_clients(struct discover_server *server)
                                client->fd);
 }
 
-static int client_write_message(struct discover_server *server,
+static int client_write_message(
+               struct discover_server *server __attribute__((unused)),
                struct client *client, struct pb_protocol_message *message)
 {
        int rc;