]> granicus.if.org Git - graphviz/commitdiff
squash -Wunused-parameter warning in motion_notify_event
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 19 Apr 2021 00:25:16 +0000 (17:25 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 25 Apr 2021 18:58:20 +0000 (11:58 -0700)
cmd/smyrna/gltemplate.c

index 87bcedfa4c503fea7654fb48f984b339507d6afe..2c7abcb38bbdbe30d93a9249c5de77208c35aabc 100644 (file)
@@ -364,6 +364,8 @@ scroll_event(GtkWidget * widget, GdkEventScroll * event, gpointer data)
 static gboolean motion_notify_event(GtkWidget * widget,
                                    GdkEventMotion * event, gpointer data)
 {
+    (void)data;
+
     float x = (float) event->x;
     float y = (float) event->y;