summaryrefslogtreecommitdiffstats
path: root/profile-widget
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-12-28 18:11:32 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-29 09:14:20 -0800
commit2fb5a7d08274445347e13e99d76afdb2888c0852 (patch)
treec31e8e94c36b5b61fb1022c9acde79455666dcf5 /profile-widget
parent555f789b55330758cb466ac774eb85476a0cba5e (diff)
downloadsubsurface-2fb5a7d08274445347e13e99d76afdb2888c0852.tar.gz
cleanup: Uninitialized scalar field
CID 208332 Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'profile-widget')
-rw-r--r--profile-widget/diveprofileitem.cpp1
1 files changed, 1 insertions, 0 deletions
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();
}