]> granicus.if.org Git - graphviz/commitdiff
smyrna on_attrAddBtn_clicked: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 22 Jul 2022 01:31:11 +0000 (18:31 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 27 Jul 2022 14:27:00 +0000 (07:27 -0700)
55efb8e562bca6c4090a73712342ac006e133704 that squashes other such warnings in
this file missed that these are also unused in `on_attrAddBtn_clicked`.

cmd/smyrna/gui/frmobjectui.c

index 1eb3442e9e75ef269f024476729ef1e02b22a90f..635f722f9bc2ee0e8e5763eacdcf13a75fcf5b1c 100644 (file)
@@ -513,6 +513,9 @@ _BB void on_attrProg_toggled(GtkWidget * widget, gpointer user_data)
 
 _BB void on_attrAddBtn_clicked(GtkWidget * widget, gpointer user_data)
 {
+    (void)widget;
+    (void)user_data;
+
     char *attr_name;
     char *defValue;
     int objKind;