From 93ab1232f0bb62748e8ed28f970f90574042d203 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 21 Mar 2020 13:40:53 -0700 Subject: cleanup: fix unitialized value Fixes CID 355179 Signed-off-by: Dirk Hohndel --- core/subsurface-qt/divelistnotifier.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/subsurface-qt') 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) { } -- cgit v1.2.3-70-g09d2