mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile.c: remove unused variables in calculate_ccr_po2()
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8bc5f388b5
commit
2a9b0c7ebc
1 changed files with 2 additions and 2 deletions
|
@ -833,9 +833,9 @@ void calculate_deco_information(struct dive *dive, struct divecomputer *dc, stru
|
|||
* there are and the differences among the readings from these sensors.
|
||||
*/
|
||||
double calculate_ccr_po2(struct plot_data *entry, struct divecomputer *dc) {
|
||||
double sump = 0.0, midp, minp = 999.9, maxp = -999.9;
|
||||
double sump = 0.0, minp = 999.9, maxp = -999.9;
|
||||
double diff_limit = 100; // The limit beyond which O2 sensor differences are considered significant (default = 100 mbar)
|
||||
int i, j, np = 0;
|
||||
int i, np = 0;
|
||||
|
||||
for (i=0; i < dc->no_o2sensors; i++)
|
||||
if (entry->o2sensor[i]) { // Valid reading
|
||||
|
|
Loading…
Add table
Reference in a new issue