mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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>
This commit is contained in:
parent
2a9b0c7ebc
commit
8b85cafa69
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue