Changeset 555f789b in subsurface


Ignore:
Timestamp:
Dec 29, 2017, 9:14:20 AM (4 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
2fb5a7d
Parents:
a8c1f40
git-author:
Jan Mulder <jlmulder@…> (12/28/17 09:04:09)
git-committer:
Dirk Hohndel <dirk@…> (12/29/17 09:14:20)
Message:

cleanup: Uninitialized pointer field

CID 45172

And one non initalized member hAxis could be removed as it is
not used. Surprisingly, Coverity did not see this.

Signed-off-by: Jan Mulder <jlmulder@…>

Location:
profile-widget
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • profile-widget/tankitem.cpp

    r27c49fe r555f789b  
    3232        trimix = trimixGradient;
    3333        air = blue;
     34        hAxis = Q_NULLPTR;
    3435        memset(&diveCylinderStore, 0, sizeof(diveCylinderStore));
    3536}
  • profile-widget/tankitem.h

    r49d0bb8 r555f789b  
    2929        DivePlotDataModel *dataModel;
    3030        DiveCartesianAxis *hAxis;
    31         int hDataColumn;
    3231        struct dive diveCylinderStore;
    3332        struct plot_data *pInfoEntry;
Note: See TracChangeset for help on using the changeset viewer.