diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-28 13:24:34 +0100 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2017-12-28 17:30:25 +0100 |
commit | 57e701f10e834b89864ce879c4fc49714b3e47e8 (patch) | |
tree | 01048ed2f1f96666d5c3bd61d0fc076def4f8cc6 /qt-models/diveplotdatamodel.cpp | |
parent | 803759efea1aa648dafad2f15fd95da228df8dbb (diff) | |
download | subsurface-57e701f10e834b89864ce879c4fc49714b3e47e8.tar.gz |
cleanup: Uninitialized scalar field
CID 45184
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'qt-models/diveplotdatamodel.cpp')
-rw-r--r-- | qt-models/diveplotdatamodel.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index a893cb46b..3024543a0 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -12,6 +12,7 @@ DivePlotDataModel::DivePlotDataModel(QObject *parent) : dcNr(0) { memset(&pInfo, 0, sizeof(pInfo)); + memset(&plot_deco_state, 0, sizeof(struct deco_state)); } int DivePlotDataModel::columnCount(const QModelIndex &parent) const |