aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar glerch <guido.lerch@gmail.com>2015-09-16 09:22:11 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-09-16 07:36:30 -0700
commit15049c3e061e3e4342184346ea90c2cb0cd05014 (patch)
tree59e5c3a15f1ce9067cd54f8c9bb403444319b66b
parente8ae51b8761d34b7af969af82c6a4fa08beddf1f (diff)
downloadsubsurface-15049c3e061e3e4342184346ea90c2cb0cd05014.tar.gz
Uemis downloader: code cleanup
Removing an unused variable Signed-off-by: glerch <guido.lerch@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--uemis-downloader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c
index 2f2f34611..0981f4b5f 100644
--- a/uemis-downloader.c
+++ b/uemis-downloader.c
@@ -1180,7 +1180,6 @@ const char *do_uemis_import(device_data_t *data)
int deleted_files = 0;
int last_found_log_file_nr = 0;
int match_dive_and_log = 0;
- int start_cleanup = 0;
int uemis_mem_status = UEMIS_MEM_OK;
#if UEMIS_DEBUG
@@ -1230,7 +1229,7 @@ const char *do_uemis_import(device_data_t *data)
fprintf(debugfile, "d_u_i inner loop start %d end %d newmax %s\n", start, end, newmax);
#endif
/* start at the last filled download table index */
- start_cleanup = match_dive_and_log = data->download_table->nr;
+ match_dive_and_log = data->download_table->nr;
sprintf(newmax, "%d", start);
param_buff[2] = newmax;
param_buff[3] = 0;