Changeset 160fb32 in subsurface


Ignore:
Timestamp:
Dec 11, 2013, 1:17:50 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:
78acf20
Parents:
2c689964
git-author:
Anton Lundin <glance@…> (12/11/13 12:21:50)
git-committer:
Dirk Hohndel <dirk@…> (12/11/13 13:17:50)
Message:

Close warning first might be garbage

First might be garbage if get_ranges would be called when
dive_table.nr == 0. This would rather signal that something else is
broken, but at least we shouldn't make it worse.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • statistics.c

    reae1624 r160fb32  
    229229{
    230230        int i, len;
    231         int first, last = -1;
     231        int first = -1, last = -1;
    232232
    233233        snprintf(buffer, size, "%s", translate("gettextFromC","for dives #"));
Note: See TracChangeset for help on using the changeset viewer.