From 0ed0846cf0f0c0bbc12e257a91ece91aeb6e253d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 18 Apr 2021 17:25:16 -0700 Subject: [PATCH] squash -Wunused-parameter warning in motion_notify_event --- cmd/smyrna/gltemplate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/smyrna/gltemplate.c b/cmd/smyrna/gltemplate.c index 87bcedfa4..2c7abcb38 100644 --- a/cmd/smyrna/gltemplate.c +++ b/cmd/smyrna/gltemplate.c @@ -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; -- 2.40.0