From 5641173e8165d0bfdf06021f5d35e3d9f6001dd6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 16 Jan 2019 16:39:44 +0200 Subject: [PATCH] Cppcheck warning. --HG-- branch : develop --- src/libs/vpatterndb/variables/vincrement_p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libs/vpatterndb/variables/vincrement_p.h b/src/libs/vpatterndb/variables/vincrement_p.h index de96bc9a7..9617fbb9c 100644 --- a/src/libs/vpatterndb/variables/vincrement_p.h +++ b/src/libs/vpatterndb/variables/vincrement_p.h @@ -44,7 +44,6 @@ class VIncrementData : public QSharedData public: VIncrementData() - : index(NULL_ID) {} VIncrementData(VContainer *data, IncrementType incrType) @@ -77,7 +76,7 @@ public: virtual ~VIncrementData(); /** @brief id each increment have unique identificator */ - quint32 index; + quint32 index{0}; QString formula; bool formulaOk{false}; bool previewCalculation{false};