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.verplant.org/?a=commitdiff_plain;h=31ab5437aa40bc18826d9f67ee861e948155fef0;p=rrdtool.git remove the premature fox for the unused parameter in xport git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@514 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_tool.c b/src/rrd_tool.c index b64a703..8072954 100644 --- a/src/rrd_tool.c +++ b/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);