From 2fb5a7d08274445347e13e99d76afdb2888c0852 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 28 Dec 2017 18:11:32 +0100 Subject: cleanup: Uninitialized scalar field CID 208332 Signed-off-by: Jan Mulder --- profile-widget/diveprofileitem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/profile-widget/diveprofileitem.cpp b/profile-widget/diveprofileitem.cpp index 4c3db45f3..983c8a54f 100644 --- a/profile-widget/diveprofileitem.cpp +++ b/profile-widget/diveprofileitem.cpp @@ -624,6 +624,7 @@ DiveMeanDepthItem::DiveMeanDepthItem() pen.setCosmetic(true); pen.setWidth(2); setPen(pen); + lastRunningSum = 0.0; settingsChanged(); } -- cgit v1.2.3-70-g09d2