mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Uemis downloader: code cleanup
Removing an unused variable Signed-off-by: glerch <guido.lerch@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e8ae51b876
commit
15049c3e06
1 changed files with 1 additions and 2 deletions
|
@ -1180,7 +1180,6 @@ const char *do_uemis_import(device_data_t *data)
|
||||||
int deleted_files = 0;
|
int deleted_files = 0;
|
||||||
int last_found_log_file_nr = 0;
|
int last_found_log_file_nr = 0;
|
||||||
int match_dive_and_log = 0;
|
int match_dive_and_log = 0;
|
||||||
int start_cleanup = 0;
|
|
||||||
int uemis_mem_status = UEMIS_MEM_OK;
|
int uemis_mem_status = UEMIS_MEM_OK;
|
||||||
|
|
||||||
#if UEMIS_DEBUG
|
#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);
|
fprintf(debugfile, "d_u_i inner loop start %d end %d newmax %s\n", start, end, newmax);
|
||||||
#endif
|
#endif
|
||||||
/* start at the last filled download table index */
|
/* 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);
|
sprintf(newmax, "%d", start);
|
||||||
param_buff[2] = newmax;
|
param_buff[2] = newmax;
|
||||||
param_buff[3] = 0;
|
param_buff[3] = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue