mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-29 05:30:41 +00:00
Uemis downloader: code cleanup
Do some cleanup of the code, there might be more of that as I am still learning the Uemis code Signed-off-by: glerch <guido.lerch@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0790dfdad5
commit
4f3a9ba583
1 changed files with 0 additions and 9 deletions
|
@ -61,8 +61,6 @@ static char *mbuf = NULL;
|
|||
static int mbuf_size = 0;
|
||||
static int nr_divespots = -1;
|
||||
|
||||
static int buddies_start = 0;
|
||||
static int buddies = -1;
|
||||
static int max_mem_used = -1;
|
||||
static int next_table_index = 0;
|
||||
|
||||
|
@ -1225,13 +1223,6 @@ const char *do_uemis_import(device_data_t *data)
|
|||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
for (int i = iStartCleanup; i < data->download_table->nr; i++)
|
||||
if (!data->download_table->dives[i]->downloaded) {
|
||||
uemis_delete_dive(data, data->download_table->dives[i]->dc.diveid);
|
||||
i = (i > iStartCleanup ? i-- : i = iStartCleanup);
|
||||
}
|
||||
*/
|
||||
start = end;
|
||||
|
||||
/* Do some memory checking here */
|
||||
|
|
Loading…
Reference in a new issue