From 57e701f10e834b89864ce879c4fc49714b3e47e8 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 28 Dec 2017 13:24:34 +0100 Subject: cleanup: Uninitialized scalar field CID 45184 Signed-off-by: Jan Mulder --- qt-models/diveplotdatamodel.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2