From 320f43a31c9cbbe545eb1d600b1d278a44d9cb64 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 7 Nov 2020 14:30:19 +0100 Subject: [PATCH] Remove 1 -Wunused-but-set-variable warning in twopiinit.c --- lib/twopigen/twopiinit.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/twopigen/twopiinit.c b/lib/twopigen/twopiinit.c index f5b177727..b27c0f706 100644 --- a/lib/twopigen/twopiinit.c +++ b/lib/twopigen/twopiinit.c @@ -79,7 +79,6 @@ void twopi_layout(Agraph_t * g) int setRoot = 0; int setLocalRoot = 0; pointf sc; - int doScale = 0; int r; Agsym_t* rootattr; @@ -106,7 +105,6 @@ void twopi_layout(Agraph_t * g) if ((s = agget(g, "scale")) && *s) { if ((r = sscanf (s, "%lf,%lf",&sc.x,&sc.y))) { if (r == 1) sc.y = sc.x; - doScale = 1; } } -- 2.40.0