]> granicus.if.org Git - graphviz/commitdiff
smyrna mAttributesSlot: squash -Wunused-parameter warnings
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Sep 2022 18:49:08 +0000 (11:49 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 26 Sep 2022 15:05:40 +0000 (08:05 -0700)
Other similar warnings in this file were squashed in
bd869436742887a0089f5ad817ecb36a1546987c. But the revert in the previous commit
brought back this function without warnings squashed.

cmd/smyrna/gui/menucallbacks.c

index 0d49cd6218ee505e093fe584d4ad6844598eef08..96d4b36aaaa361415dd0755f4027cdf2c97cf7db 100644 (file)
@@ -24,6 +24,9 @@
 
 void mAttributesSlot(GtkWidget * widget, gpointer user_data)
 {
+    (void)widget;
+    (void)user_data;
+
     showAttrsWidget(view->Topview);
 }