summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2014-10-25 12:43:29 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-27 07:38:19 -0700
commit8b85cafa69f2595bad3520402f0f4078e3c58730 (patch)
treeaaab89e2992fdb41eaccc5a41f3e76deeb509381 /profile.c
parent2a9b0c7ebc9b8aa38df349d5fa5d9be8b896d395 (diff)
downloadsubsurface-8b85cafa69f2595bad3520402f0f4078e3c58730.tar.gz
profile.c: remove a variable which is set but not used
fill_o2_values(): struct gas_pressures *pressures; Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 0 insertions, 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) {