diff options
author | glerch <guido.lerch@gmail.com> | 2015-09-07 20:54:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-09-07 17:43:37 -0700 |
commit | 4f3a9ba58309e5fc207733edcf01077f78ddf380 (patch) | |
tree | 12a2ef3507584e805e0ed85d311816e7bd772046 /uemis-downloader.c | |
parent | 0790dfdad54a0173a557ddefdd6db4f14a0c5368 (diff) | |
download | subsurface-4f3a9ba58309e5fc207733edcf01077f78ddf380.tar.gz |
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>
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r-- | uemis-downloader.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index 1c639aa67..e245c2344 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -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 */ |