Address uninitialized member warnings

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-22 06:42:02 -07:00
parent 85dfb88f51
commit 1ecc9b0cc0
19 changed files with 50 additions and 18 deletions

View file

@ -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));
}