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

index 5cbbc0420693693fbc11d6da14841a4d5a5c3f06..3b57947f1c732d7988a4be4da3fb2213e2ce10c9 100644 (file)
@@ -166,6 +166,9 @@ void frmObject_set_scroll(GtkWidget * widget, gpointer user_data)
 
 void frmObjectBtnOK_clicked(GtkWidget * widget, gpointer user_data)
 {
+    (void)widget;
+    (void)user_data;
+
     deselect_all(view->g[view->activeGraph]);
     gtk_widget_hide(glade_xml_get_widget(xml, "frmObject"));
 }