From 1e92a8e648ba2a66fb4d06e2037c958890a55535 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Wed, 11 Dec 2013 00:53:34 +0100 Subject: Remove extra local variable declaration Signed-off-by: Anton Lundin Signed-off-by: Dirk Hohndel --- divelist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'divelist.c') diff --git a/divelist.c b/divelist.c index e0a70379b..c69a34dc5 100644 --- a/divelist.c +++ b/divelist.c @@ -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"); -- cgit v1.2.3-70-g09d2