mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:33:24 +00:00
Initialize tissue_tolerance
So we can't return garbage. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
25c3eb26dc
commit
6c0865c532
1 changed files with 1 additions and 0 deletions
|
@ -386,6 +386,7 @@ double init_decompression(struct dive *dive)
|
|||
timestamp_t when, lasttime = 0;
|
||||
bool deco_init = FALSE;
|
||||
double tissue_tolerance, surface_pressure;
|
||||
tissue_tolerance = surface_pressure = get_surface_pressure_in_mbar(dive, TRUE) / 1000.0;
|
||||
|
||||
if (!dive)
|
||||
return 0.0;
|
||||
|
|
Loading…
Add table
Reference in a new issue