From 1ecc9b0cc0c4e7ad2b03236a788cf875189f1832 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 22 Jun 2015 06:42:02 -0700 Subject: Address uninitialized member warnings Signed-off-by: Dirk Hohndel --- qt-models/diveplotdatamodel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qt-models/diveplotdatamodel.cpp') diff --git a/qt-models/diveplotdatamodel.cpp b/qt-models/diveplotdatamodel.cpp index 3b3a288b6..f219947ac 100644 --- a/qt-models/diveplotdatamodel.cpp +++ b/qt-models/diveplotdatamodel.cpp @@ -4,7 +4,10 @@ #include "graphicsview-common.h" #include "divelist.h" -DivePlotDataModel::DivePlotDataModel(QObject *parent) : QAbstractTableModel(parent), diveId(0) +DivePlotDataModel::DivePlotDataModel(QObject *parent) : + QAbstractTableModel(parent), + diveId(0), + dcNr(0) { memset(&pInfo, 0, sizeof(pInfo)); } -- cgit v1.2.3-70-g09d2