summaryrefslogtreecommitdiffstats
path: root/statistics.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-21 15:50:56 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-21 15:50:56 -0800
commit60a5d1d07056887ab9aa1c9468db64b4c7850401 (patch)
tree38030c574fdb0a321b1eb29082ef01bf9359b3a8 /statistics.c
parentfe2eabf3756c9883ee8e8c145e5cd12d8d336933 (diff)
downloadsubsurface-60a5d1d07056887ab9aa1c9468db64b4c7850401.tar.gz
Fix a couple of warnings
Removing unused variables. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.c')
-rw-r--r--statistics.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/statistics.c b/statistics.c
index 8284dda8f..a382af5a4 100644
--- a/statistics.c
+++ b/statistics.c
@@ -271,7 +271,6 @@ void get_selected_dives_text(char *buffer, int size)
void get_gas_used(struct dive *dive, volume_t gases[MAX_CYLINDERS])
{
int idx;
- volume_t gas_used = { 0 };
for (idx = 0; idx < MAX_CYLINDERS; idx++) {
cylinder_t *cyl = &dive->cylinder[idx];
pressure_t start, end;