cleanup: fix unitialized value

Fixes CID 355179

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2020-03-21 13:40:53 -07:00
parent a8e2aef785
commit 93ab1232f0

View file

@ -198,7 +198,8 @@ inline DiveField::DiveField(int flags) :
tags((flags & TAGS) != 0),
mode((flags & MODE) != 0),
notes((flags & NOTES) != 0),
salinity((flags & SALINITY) != 0)
salinity((flags & SALINITY) != 0),
invalid((flags & INVALID) != 0)
{
}