]> granicus.if.org Git - graphviz/commitdiff
squash -Wunused-parameter warning in btn_twopi_clicked
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 19 Apr 2021 00:31:02 +0000 (17:31 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Apr 2021 18:58:20 +0000 (11:58 -0700)
cmd/smyrna/gui/callbacks.c

index dec48f2e90bc42822042e6456003fb31956afccf..2287b379891373dacb42b6373739f2c1e368fc7a 100644 (file)
@@ -93,6 +93,8 @@ void btn_neato_clicked(GtkWidget * widget, gpointer user_data)
 
 void btn_twopi_clicked(GtkWidget * widget, gpointer user_data)
 {
+    (void)user_data;
+
     btn_clicked(widget, GVK_TWOPI);
 }