summaryrefslogtreecommitdiffstats
path: root/core/statistics.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-26 12:14:46 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-08-26 12:14:46 -0700
commit0813d2168a8b7d85d2d12c042508ce1ed2d98fda (patch)
treec2b2282f2a22e377e8b37ff39b2fe1641727544c /core/statistics.c
parentaabcff9c5402a9b83c799a0a29172777e0383217 (diff)
downloadsubsurface-0813d2168a8b7d85d2d12c042508ce1ed2d98fda.tar.gz
Remove some unused variables
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/statistics.c')
-rw-r--r--core/statistics.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/statistics.c b/core/statistics.c
index ff8122124..4ce110d07 100644
--- a/core/statistics.c
+++ b/core/statistics.c
@@ -344,7 +344,6 @@ bool is_cylinder_used(struct dive *dive, int idx)
void get_gas_used(struct dive *dive, volume_t gases[MAX_CYLINDERS])
{
int idx;
- struct divecomputer *dc;
for (idx = 0; idx < MAX_CYLINDERS; idx++) {
cylinder_t *cyl = &dive->cylinder[idx];