From: oetiker Date: Tue, 7 Apr 2009 07:20:18 +0000 (+0000) Subject: fix lazy fix ... syntax error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=629ba5427bd755fb5bf51b32a6f54eab4a79931b;p=rrdtool.git fix lazy fix ... syntax error git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1775 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 2ad2cb1..0d880ef 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -3048,7 +3048,7 @@ int graph_paint( if (i < 0) return -1; - if ((i == 0)) + if (i == 0) return 0; /************************************************************** @@ -3076,9 +3076,8 @@ int graph_paint( grinfo_push(im, sprintf_alloc("graph_end"), RD_I_CNT, info); /* if we want and can be lazy ... quit now */ - if (lazy){ - return 0 - }; + if (lazy) + return 0; /* get actual drawing data and find min and max values */ if (data_proc(im) == -1)