summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplotdatamodel.cpp
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-12-28 13:24:34 +0100
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2017-12-28 17:30:25 +0100
commit57e701f10e834b89864ce879c4fc49714b3e47e8 (patch)
tree01048ed2f1f96666d5c3bd61d0fc076def4f8cc6 /qt-models/diveplotdatamodel.cpp
parent803759efea1aa648dafad2f15fd95da228df8dbb (diff)
downloadsubsurface-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.cpp1
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