Uemis patch - code cleanup

Guido Lerch guido.lerch at gmail.com
Wed Sep 16 00:23:30 PDT 2015


removing one unused variable

-- 
Best regards,
Guido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150916/5134330e/attachment.html>
-------------- next part --------------
From 9674bfab0b8440bced10c2ead75d3f28a905fb6a Mon Sep 17 00:00:00 2001
From: glerch <guido.lerch at gmail.com>
Date: Wed, 16 Sep 2015 09:22:11 +0200
Subject: [PATCH 5/5] UEMIS-Code cleanup

Removing an unused variable

Signed-off-by: glerch <guido.lerch at gmail.com>
---
 uemis-downloader.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/uemis-downloader.c b/uemis-downloader.c
index 2f2f346..0981f4b 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;
-- 
1.9.5 (Apple Git-50.3)



More information about the subsurface mailing list