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=a79a3b955cdc38c6dec741ac9cb0e9a7d6c66275;p=rrdtool-all.git fix lazy fix ... syntax error git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@1775 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_graph.c b/program/src/rrd_graph.c index 2ad2cb1d..0d880ef3 100644 --- a/program/src/rrd_graph.c +++ b/program/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)