Changeset 6c0865c in subsurface


Ignore:
Timestamp:
Dec 10, 2013, 6:13:30 PM (4 years ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
Mtest, android_test, dcDownload, foratdotde, gitMerge, gitdebug, gitpictures, ios, master, mergeKirigamiPort, pictimeshift, resolutionIndependence, spinner, testTomaz, testing, v4.0-branch, v4.0.3-branch, v4.2-branch, v4.4-branch, v4.5-branch
Children:
c46ae27
Parents:
25c3eb2
git-author:
Anton Lundin <glance@…> (12/10/13 15:53:33)
git-committer:
Dirk Hohndel <dirk@…> (12/10/13 18:13:30)
Message:

Initialize tissue_tolerance

So we can't return garbage.

Signed-off-by: Anton Lundin <glance@…>
Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • divelist.c

    rc1a9e7c r6c0865c  
    387387        bool deco_init = FALSE;
    388388        double tissue_tolerance, surface_pressure;
     389        tissue_tolerance = surface_pressure = get_surface_pressure_in_mbar(dive, TRUE) / 1000.0;
    389390
    390391        if (!dive)
Note: See TracChangeset for help on using the changeset viewer.