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

index dc9f3e101283f6ac9002dc4c504cae39f5b0b520..5e7cfdf391482340266dbdc8bc587e1cde794ea4 100644 (file)
@@ -292,6 +292,9 @@ static gboolean button_press_event(GtkWidget * widget,
 static gboolean button_release_event(GtkWidget * widget,
                                     GdkEventButton * event, gpointer data)
 {
+    (void)widget;
+    (void)data;
+
     if (view->widgets == 0) return FALSE;
     view->FontSizeConst = GetOGLDistance(14);
     view->arcball->isDragging = 0;