deco.c: fix warnings about unused variables

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2015-09-23 17:38:37 +03:00 committed by Dirk Hohndel
parent f622516dd0
commit 34147426de

2
deco.c
View file

@ -369,7 +369,6 @@ double calc_surface_phase(double surface_pressure, double he_pressure, double n2
void vpmb_start_gradient() void vpmb_start_gradient()
{ {
int ci; int ci;
double gradient_n2, gradient_he;
for (ci = 0; ci < 16; ++ci) { for (ci = 0; ci < 16; ++ci) {
initial_n2_gradient[ci] = bottom_n2_gradient[ci] = 2.0 * (vpmb_config.surface_tension_gamma / vpmb_config.skin_compression_gammaC) * ((vpmb_config.skin_compression_gammaC - vpmb_config.surface_tension_gamma) / n2_regen_radius[ci]); initial_n2_gradient[ci] = bottom_n2_gradient[ci] = 2.0 * (vpmb_config.surface_tension_gamma / vpmb_config.skin_compression_gammaC) * ((vpmb_config.skin_compression_gammaC - vpmb_config.surface_tension_gamma) / n2_regen_radius[ci]);
@ -380,7 +379,6 @@ void vpmb_start_gradient()
void vpmb_next_gradient(double deco_time, double surface_pressure) void vpmb_next_gradient(double deco_time, double surface_pressure)
{ {
int ci; int ci;
double gradient_n2, gradient_he;
double n2_b, n2_c; double n2_b, n2_c;
double he_b, he_c; double he_b, he_c;
double desat_time; double desat_time;