]> granicus.if.org Git - graphviz/commitdiff
smyrma: remove unused 'redraw'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 25 Sep 2021 23:53:46 +0000 (16:53 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 28 Sep 2021 02:17:04 +0000 (19:17 -0700)
cmd/smyrna/glmotion.c

index 0a7f02afc806de2ef29adfe8245416e4cdf70772..85e4017457e4f8610b43a16c469572a6f33af495 100644 (file)
@@ -17,8 +17,6 @@
 #include <glcomp/glutils.h>
 #include "hotkeymap.h"
 
-gboolean redraw = FALSE;
-
 /*real zoom in out is done here, all other functions send this one what they desire, it is not guranteed,*/
 static void graph_zoom(float real_zoom)
 {
@@ -88,6 +86,4 @@ void glmotion_pan(ViewInfo * v)
        v->cameras[v->active_camera]->targetx -= gldx;
        v->cameras[v->active_camera]->targety += gldy;
     }
-
-    redraw = TRUE;
 }