summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-19 20:04:46 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-19 20:12:59 +0900
commit4d14059d7c309534d9932375958b561fa464bde2 (patch)
tree80c28138cd14a091df9abcad5e592c333ad4486b /divelist.c
parenta117428ff46b15f458cabf29c250b2e7d70cc31d (diff)
downloadsubsurface-4d14059d7c309534d9932375958b561fa464bde2.tar.gz
Remove unused variables
These were leftover in commit 90638180d21a ("Use the used flag on cylinders in get_dive_gas"). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/divelist.c b/divelist.c
index 513b9265e..42e06abbd 100644
--- a/divelist.c
+++ b/divelist.c
@@ -115,8 +115,6 @@ void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2low_p)
cylinder_t *cyl = dive->cylinder + i;
int o2 = get_o2(&cyl->gasmix);
int he = get_he(&cyl->gasmix);
- int used = 0;
- int first_gas_explicit = 0;
if (!cyl->used)
continue;