]> granicus.if.org Git - graphviz/commitdiff
smyrna on_attrSearchBtn_clicked: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Sep 2022 18:46:47 +0000 (11:46 -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 f46eb87d0e2583766533453c27242a3c585da3b0..9515d30179f2f3d1690102e1f5a92ae00277fcb3 100644 (file)
@@ -735,6 +735,8 @@ static void gvpr_select(char *attrname, char *regex_str, int objType) {
 
 _BB void on_attrSearchBtn_clicked(GtkWidget * widget, gpointer user_data)
 {
+    (void)widget;
+    (void)user_data;
 
     char *attr =
        (char *) gtk_entry_get_text((GtkEntry *)