Remove some unused variables

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-08-26 12:14:46 -07:00
parent aabcff9c54
commit 0813d2168a
4 changed files with 2 additions and 4 deletions

View file

@ -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];