summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/divefilter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/divefilter.cpp b/core/divefilter.cpp
index 87b5846f8..3ea69a0ba 100644
--- a/core/divefilter.cpp
+++ b/core/divefilter.cpp
@@ -114,7 +114,9 @@ DiveFilter *DiveFilter::instance()
return &self;
}
-DiveFilter::DiveFilter() : diveSiteRefCount(0)
+DiveFilter::DiveFilter() :
+ shown_dives(0),
+ diveSiteRefCount(0)
{
}