mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Clean up some warnings in file.c
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
66d9cc788c
commit
9006802f72
1 changed files with 2 additions and 5 deletions
|
@ -896,10 +896,9 @@ int parse_txt_file(const char *filename, const char *csv)
|
|||
|
||||
int parse_dan_format(const char *filename, char **params, int pnr)
|
||||
{
|
||||
int ret = 0, i, end_ptr = 0;
|
||||
int ret = 0, i;
|
||||
size_t end_ptr = 0;
|
||||
struct memblock mem, mem_csv;
|
||||
time_t now;
|
||||
struct tm *timep = NULL;
|
||||
char tmpbuf[MAXCOLDIGITS];
|
||||
|
||||
char *ptr = NULL;
|
||||
|
@ -919,8 +918,6 @@ int parse_dan_format(const char *filename, char **params, int pnr)
|
|||
return -1;
|
||||
}
|
||||
|
||||
int j = 0;
|
||||
|
||||
while ((end_ptr < mem.size) && (ptr = strstr(mem.buffer + end_ptr, "ZDH"))) {
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue