From 8b85cafa69f2595bad3520402f0f4078e3c58730 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 25 Oct 2014 12:43:29 +0300 Subject: profile.c: remove a variable which is set but not used fill_o2_values(): struct gas_pressures *pressures; Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- profile.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/profile.c b/profile.c index bea556f16..f0b7041ee 100644 --- a/profile.c +++ b/profile.c @@ -924,11 +924,9 @@ void fill_o2_values(struct divecomputer *dc, struct plot_info *pi, struct dive * { int i, j; double last_setpoint, last_sensor[3], o2pressure, amb_pressure; - struct gas_pressures *pressures; for (i = 0; i < pi->nr; i++) { struct plot_data *entry = pi->entry + i; - pressures = &(entry->pressures); // For 1st iteration, initialise the last_ values if (dc->dctype == CCR) { if (i == 0) { -- cgit v1.2.3-70-g09d2