From 43c2d8da5dad0bccb53e52fef9804d77813a15c3 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 21 Mar 2022 07:57:22 -0700 Subject: [PATCH] smyrna cb_mouseclick: remove unused 'g' This causes compiler warnings resulting in build failure when enabling this in the CMake build system. Gitlab: related to #1836 --- cmd/smyrna/glutrender.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/smyrna/glutrender.c b/cmd/smyrna/glutrender.c index 66c423b37..5c758ad0c 100644 --- a/cmd/smyrna/glutrender.c +++ b/cmd/smyrna/glutrender.c @@ -90,10 +90,7 @@ static void cb_display(void) static void cb_mouseclick(int button, int state, int x, int y) { - Agraph_t* g; - if (view->g == 0) return; - g=view->g[view->activeGraph]; begin_x = (float) x; begin_y = (float) y; if(state==GLUT_DOWN) -- 2.50.1