aboutsummaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-12-11 00:53:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-11 03:13:30 +0100
commit1e92a8e648ba2a66fb4d06e2037c958890a55535 (patch)
treeb7da2e8259d8c949b6edeeeb7feadbc384256ffa /divelist.c
parent9f7102f9da0646e36279edf1dbe4c481af221546 (diff)
downloadsubsurface-1e92a8e648ba2a66fb4d06e2037c958890a55535.tar.gz
Remove extra local variable declaration
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c2
1 files changed, 1 insertions, 1 deletions
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");