chiark / gitweb /
Missing unused attribute
authorRichard Kettlewell <rjk@greenend.org.uk>
Tue, 1 Jul 2008 21:09:40 +0000 (22:09 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Tue, 1 Jul 2008 21:09:40 +0000 (22:09 +0100)
disobedience/client.c

index 2406903..80aef88 100644 (file)
@@ -130,7 +130,7 @@ static void gtkclient_comms_error(void attribute((unused)) *u,
  */
 static void gtkclient_protocol_error(void attribute((unused)) *u,
                                     void attribute((unused)) *v,
-                                     int code,
+                                     int attribute((unused)) code,
                                     const char *msg) {
   D(("gtkclient_protocol_error %s", msg));
   gtk_label_set_text(GTK_LABEL(report_label), msg);