From 0f386420e0fea9e116290767c72ef45bf657bf0e Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 9 Mar 2016 15:15:53 -0300 Subject: Silence warnings in divetooltipitem.cpp Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- profile-widget/divetooltipitem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile-widget/divetooltipitem.cpp b/profile-widget/divetooltipitem.cpp index 78de4641b..6d6405056 100644 --- a/profile-widget/divetooltipitem.cpp +++ b/profile-widget/divetooltipitem.cpp @@ -243,7 +243,7 @@ void ToolTipItem::refresh(const QPointF &pos) struct plot_data *entry; static QPixmap tissues(16,60); static QPainter painter(&tissues); - static struct membuffer mb = { 0 }; + static struct membuffer mb = {}; if(refreshTime.elapsed() < 40) return; -- cgit v1.2.3-70-g09d2