mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
cleanup: Uninitialized pointer field
CID 45172 And one non initalized member hAxis could be removed as it is not used. Surprisingly, Coverity did not see this. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
a8c1f405f4
commit
555f789b55
2 changed files with 1 additions and 1 deletions
|
@ -31,6 +31,7 @@ TankItem::TankItem(QObject *parent) :
|
|||
trimixGradient.setColorAt(1.0, red);
|
||||
trimix = trimixGradient;
|
||||
air = blue;
|
||||
hAxis = Q_NULLPTR;
|
||||
memset(&diveCylinderStore, 0, sizeof(diveCylinderStore));
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ private:
|
|||
void createBar(qreal x, qreal w, struct gasmix *gas);
|
||||
DivePlotDataModel *dataModel;
|
||||
DiveCartesianAxis *hAxis;
|
||||
int hDataColumn;
|
||||
struct dive diveCylinderStore;
|
||||
struct plot_data *pInfoEntry;
|
||||
int pInfoNr;
|
||||
|
|
Loading…
Add table
Reference in a new issue