From: Matthew Fernandez Date: Sun, 25 Sep 2022 18:46:47 +0000 (-0700) Subject: smyrna on_attrSearchBtn_clicked: squash -Wunused-parameter warnings X-Git-Tag: 6.0.2~28^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7814158e02062aee5709a9efbc2ec6a63a1635d0;p=graphviz smyrna on_attrSearchBtn_clicked: squash -Wunused-parameter warnings 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. --- diff --git a/cmd/smyrna/gui/frmobjectui.c b/cmd/smyrna/gui/frmobjectui.c index f46eb87d0..9515d3017 100644 --- a/cmd/smyrna/gui/frmobjectui.c +++ b/cmd/smyrna/gui/frmobjectui.c @@ -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 *)