mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
4f1ac6804f
commit
334b70c65f
1 changed files with 0 additions and 2 deletions
2
file.c
2
file.c
|
@ -844,7 +844,6 @@ int parse_csv_file(const char *filename, char **params, int pnr, const char *csv
|
||||||
struct memblock mem;
|
struct memblock mem;
|
||||||
time_t now;
|
time_t now;
|
||||||
struct tm *timep = NULL;
|
struct tm *timep = NULL;
|
||||||
int previous;
|
|
||||||
char tmpbuf[MAXCOLDIGITS];
|
char tmpbuf[MAXCOLDIGITS];
|
||||||
|
|
||||||
/* Increase the limits for recursion and variables on XSLT
|
/* 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);
|
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);
|
ret = parse_xml_buffer(filename, mem.buffer, mem.size, &dive_table, (const char **)params);
|
||||||
|
|
||||||
free(mem.buffer);
|
free(mem.buffer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue