mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile.c: remove unused variables
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
This commit is contained in:
parent
cab9870be3
commit
80a67b7a27
1 changed files with 1 additions and 5 deletions
|
@ -723,7 +723,6 @@ static int sac_between(struct dive *dive, struct plot_data *first, struct plot_d
|
||||||
double pressuretime;
|
double pressuretime;
|
||||||
pressure_t a, b;
|
pressure_t a, b;
|
||||||
cylinder_t *cyl;
|
cylinder_t *cyl;
|
||||||
int duration;
|
|
||||||
|
|
||||||
if (first == last)
|
if (first == last)
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -811,10 +810,7 @@ static void fill_sac(struct dive *dive, struct plot_info *pi, int idx)
|
||||||
|
|
||||||
static void calculate_sac(struct dive *dive, struct plot_info *pi)
|
static void calculate_sac(struct dive *dive, struct plot_info *pi)
|
||||||
{
|
{
|
||||||
int i = 0, last = 0;
|
for (int i = 0; i < pi->nr; i++)
|
||||||
struct plot_data *last_entry = NULL;
|
|
||||||
|
|
||||||
for (i = 0; i < pi->nr; i++)
|
|
||||||
fill_sac(dive, pi, i);
|
fill_sac(dive, pi, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue