summaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-09-23 17:38:39 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-23 09:14:30 -0700
commit334b70c65f512ed621c65d1fa4e812f1f80e30b6 (patch)
treedc326799923a216507d7e24b3c3ce7b14732d8f3 /file.c
parent4f1ac6804f667f4d1249f61451a40469d5b7fcbd (diff)
downloadsubsurface-334b70c65f512ed621c65d1fa4e812f1f80e30b6.tar.gz
file.c: fix warnings about unused variables
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/file.c b/file.c
index a7a340f09..a7b407f6d 100644
--- a/file.c
+++ b/file.c
@@ -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);