summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c
index 3fc348520..baa34d17b 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -2108,7 +2108,7 @@ static void merge_one_cylinder(cylinder_t *a, cylinder_t *b)
*/
static void merge_cylinders(struct dive *res, struct dive *a, struct dive *b)
{
- int i, last, renumber = 0;
+ int i, renumber = 0;
int mapping[MAX_CYLINDERS];
unsigned int used_in_a = 0, used_in_b = 0, matched = 0;