cleanup: Uninitialized scalar field

CID 45184

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
Jan Mulder 2017-12-28 13:24:34 +01:00
parent 803759efea
commit 57e701f10e

View file

@ -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