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

index d85b92205587fe4bc70618175dbb1963a8bee8e3..f076b90e6a10b47bc7cd1d6d489033f12b95e1b2 100644 (file)
@@ -79,6 +79,8 @@ static void btn_clicked(GtkWidget * widget, gvk_layout layout)
 
 void btn_dot_clicked(GtkWidget * widget, gpointer user_data)
 {
+    (void)user_data;
+
     btn_clicked(widget, GVK_DOT);
 }