file.c: fix warnings about unused variables

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2015-09-23 17:38:39 +03:00 committed by Dirk Hohndel
parent 4f1ac6804f
commit 334b70c65f

2
file.c
View file

@ -844,7 +844,6 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv
struct memblock mem;
time_t now;
struct tm *timep = NULL;
int previous;
char tmpbuf[MAXCOLDIGITS];
/* Increase the limits for recursion and variables on XSLT
@ -889,7 +888,6 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv
fprintf(stderr, "%s/xslt/csv2xml.xslt -\n", SUBSURFACE_SOURCE);
}
previous = dive_table.nr;
ret = parse_xml_buffer(filename, mem.buffer, mem.size, &dive_table, (const char **)params);
free(mem.buffer);