summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-11 08:43:24 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-11 08:43:24 -0800
commita733aaf967af745ebe643c9936750c2833239bfc (patch)
treedfe573a0cdbc4ba6ae0543cb2bd008a1eaddd533 /core/dive.c
parent08284275e733fcea8b909b86fda503d4b24e0b84 (diff)
downloadsubsurface-a733aaf967af745ebe643c9936750c2833239bfc.tar.gz
Remove unused variable
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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;