summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c
index fdc1f906b..b28dd5ef3 100644
--- a/core/divelist.c
+++ b/core/divelist.c
@@ -364,7 +364,7 @@ static struct gasmix air = { .o2.permille = O2_IN_AIR, .he.permille = 0 };
unsigned int init_decompression(struct dive *dive)
{
int i, divenr = -1;
- unsigned int surface_time;
+ unsigned int surface_time = 0;
timestamp_t when, lasttime = 0, laststart = 0;
bool deco_init = false;
double surface_pressure;