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

cmd/smyrna/gui/menucallbacks.c

index 75b05c51712f2ad2867bd21a5629a3bd7b90929e..6bd5629efa632c5218846c754a97f67338ee2732 100644 (file)
@@ -24,6 +24,9 @@
 
 void mOpenSlot(GtkWidget * widget, gpointer user_data)
 {
+    (void)widget;
+    (void)user_data;
+
     GtkWidget *dialog;
     GtkFileFilter *filter;