diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-03-21 13:40:53 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-24 16:45:48 -0700 |
commit | 93ab1232f0bb62748e8ed28f970f90574042d203 (patch) | |
tree | 9f16b83fdb2b4a0039af67a3a2acd5761c6af374 | |
parent | a8e2aef785c4a6b183f63f65bd4a4f10ebf7ac62 (diff) | |
download | subsurface-93ab1232f0bb62748e8ed28f970f90574042d203.tar.gz |
cleanup: fix unitialized value
Fixes CID 355179
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | core/subsurface-qt/divelistnotifier.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/subsurface-qt/divelistnotifier.h b/core/subsurface-qt/divelistnotifier.h index f1b5da2c6..aafe29c0c 100644 --- a/core/subsurface-qt/divelistnotifier.h +++ b/core/subsurface-qt/divelistnotifier.h @@ -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) { } |