From f92ff095a2d99028b88b7dbdff2e01ca6b73c126 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sun, 8 May 2005 15:40:28 +0000 Subject: [PATCH] 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 --- program/src/rrd_tool.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2