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

@ -350,7 +350,6 @@ void populate_pressure_information(struct dive *dive, struct divecomputer *dc, s
cylinder_t *cylinder = dive->cylinder + sensor;
pr_track_t *track = NULL;
pr_track_t *current = NULL;
struct plot_data *entry;
struct event *ev;
int missing_pr = 0, dense = 1;

View file

@ -1460,7 +1460,7 @@ void compare_samples(struct plot_data *e1, struct plot_data *e2, char *buf, int
char *buf2 = malloc(bufsize);
int avg_speed, max_asc_speed, max_desc_speed;
int delta_depth, avg_depth, max_depth, min_depth;
int bar_used, last_pressure, pressurevalue, last_cylidx;
int bar_used, last_pressure, pressurevalue;
int count, last_sec, delta_time;
bool crossed_tankchange = false;

View file

@ -348,7 +348,7 @@ static void save_sample(struct membuffer *b, struct sample *sample, struct sampl
static void save_samples(struct membuffer *b, struct dive *dive, struct divecomputer *dc)
{
int nr;
int o2sensor, legacy;
int o2sensor;
struct sample *s;
struct sample dummy = {};

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