]> granicus.if.org Git - graphviz/commitdiff
smyrna on_attrRB0_clicked: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 24 Sep 2022 01:25:02 +0000 (18:25 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Sep 2022 20:25:40 +0000 (13:25 -0700)
Other similar warnings in this file were squashed in
55efb8e562bca6c4090a73712342ac006e133704 and friends. But the revert in the
previous commit brought back this function without warnings squashed.

cmd/smyrna/gui/frmobjectui.c

index 0eaa874963fc28c804aada1b048b30ddc46f6584..3a6e87cc62d47e4e9ed5084c1aa463150b6b2fe5 100644 (file)
@@ -501,6 +501,9 @@ _BB void on_attrApplyBtn_clicked(GtkWidget * widget, gpointer user_data)
 
 _BB void on_attrRB0_clicked(GtkWidget * widget, gpointer user_data)
 {
+    (void)widget;
+    (void)user_data;
+
     filter_attributes((char *)
                      gtk_entry_get_text((GtkEntry *)
                                         glade_xml_get_widget(xml,