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

index 3f41f5e9259754a046c30db28c54f599dec763af..d85b92205587fe4bc70618175dbb1963a8bee8e3 100644 (file)
@@ -73,7 +73,10 @@ void remove_graph_clicked(GtkWidget * widget, gpointer user_data)
 
 static void btn_clicked(GtkWidget * widget, gvk_layout layout)
 {
+    (void)widget;
+    (void)layout;
 }
+
 void btn_dot_clicked(GtkWidget * widget, gpointer user_data)
 {
     btn_clicked(widget, GVK_DOT);