From: oetiker Date: Sun, 8 May 2005 15:40:28 +0000 (+0000) Subject: remove the premature fox for the unused parameter in xport X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f92ff095a2d99028b88b7dbdff2e01ca6b73c126;p=rrdtool-all.git remove the premature fox for the unused parameter in xport git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@514 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c index b64a7038..80729541 100644 --- a/program/src/rrd_tool.c +++ b/program/src/rrd_tool.c @@ -586,12 +586,13 @@ int HandleInputLine(int argc, char **argv, FILE* out) free (data); } } else if (strcmp("xport", argv[1]) == 0) { + int xxsize; unsigned long int j = 0; time_t start,end, ti; unsigned long step, col_cnt,row_cnt; rrd_value_t *data,*ptr; char **legend_v; - if(rrd_xport(argc-1, &argv[1], &start,&end,&step,&col_cnt,&legend_v,&data) != -1) { + if(rrd_xport(argc-1, &argv[1], &xxsize,&start,&end,&step,&col_cnt,&legend_v,&data) != -1) { row_cnt = (end-start)/step; ptr = data; printf("\n\n", XML_ENCODING);