From 30dd5e06908390b1a668198d81185951fa36b4c7 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 11 Apr 2021 21:32:18 -0700 Subject: [PATCH] remove unused parameter from glmotion_zoom --- cmd/smyrna/glmotion.c | 2 +- cmd/smyrna/glmotion.h | 2 +- cmd/smyrna/gltemplate.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/smyrna/glmotion.c b/cmd/smyrna/glmotion.c index 75e73cd0a..0d39a1e80 100644 --- a/cmd/smyrna/glmotion.c +++ b/cmd/smyrna/glmotion.c @@ -52,7 +52,7 @@ void glmotion_zoom_inc(int zoomin) } -void glmotion_zoom(ViewInfo * v) +void glmotion_zoom(void) { float real_zoom; if (view->active_camera == -1) { diff --git a/cmd/smyrna/glmotion.h b/cmd/smyrna/glmotion.h index 302ee1d5c..8d92de2c2 100644 --- a/cmd/smyrna/glmotion.h +++ b/cmd/smyrna/glmotion.h @@ -17,7 +17,7 @@ extern "C" { #endif - void glmotion_zoom(ViewInfo * v); + void glmotion_zoom(void); void glmotion_pan(ViewInfo * v); void glmotion_zoom_inc(int zoomin); diff --git a/cmd/smyrna/gltemplate.c b/cmd/smyrna/gltemplate.c index c33d7bd47..1e6af429b 100644 --- a/cmd/smyrna/gltemplate.c +++ b/cmd/smyrna/gltemplate.c @@ -333,7 +333,7 @@ scroll_event(GtkWidget * widget, GdkEventScroll * event, gpointer data) view->mouse.dragX = -30; if (event->direction == 1) view->mouse.dragX = +30; - glmotion_zoom(view); + glmotion_zoom(); glexpose(); g_timer_start(view->timer2); -- 2.40.0