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

index 98f3157216c3e50839ef49a5c8138ea00c27f801..5bf09dc300dd199d205390f2aef460338ab66b63 100644 (file)
@@ -149,14 +149,13 @@ void on_dlgOpenGraph_btncancel_clicked(GtkWidget * widget,
 
 void attr_widgets_modifiedSlot(GtkWidget * widget, gpointer user_data)
 {
+    (void)widget;
+
     attr_widgets_modified[*(int *) user_data] = 1;
     g_print("attr changed signal..incoming data : %i\n",
            *(int *) user_data);
-
 }
 
-
-
 void frmObject_set_scroll(GtkWidget * widget, gpointer user_data)
 {
     g_print("scroll resize required\n");