Remove extra local variable declaration

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2013-12-11 00:53:34 +01:00 committed by Dirk Hohndel
parent 9f7102f9da
commit 1e92a8e648

View file

@ -443,7 +443,7 @@ double init_decompression(struct dive *dive)
#endif
}
if (!deco_init) {
double surface_pressure = get_surface_pressure_in_mbar(dive, TRUE) / 1000.0;
surface_pressure = get_surface_pressure_in_mbar(dive, TRUE) / 1000.0;
clear_deco(surface_pressure);
#if DECO_CALC_DEBUG & 2
printf("no previous dive\n");