From c73450a08185bbaab6a916a6a3937b7c07c1afda Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 15 Jan 2006 12:25:36 +0000 Subject: [PATCH] make sure gcc does not thing gridind may be undefined git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@746 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_graph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_graph.c b/src/rrd_graph.c index ba0460e..a762b25 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -1527,7 +1527,7 @@ calc_horizontal_grid(image_desc_t *im) double range; double scaledrange; int pixel,i; - int gridind; + int gridind=0; int decimals, fractionals; im->ygrid_scale.labfact=2; -- 2.30.2