StyleSpec: 0-initialize the property_set array
authorHugues Ross <hugues.ross@gmail.com>
Sat, 14 Dec 2019 23:03:33 +0000 (18:03 -0500)
committersfan5 <sfan5@live.de>
Mon, 16 Dec 2019 18:26:57 +0000 (19:26 +0100)
src/gui/StyleSpec.h

index f120fdedba241b947eaf2025e6a4d8bc947fee00..5c9e20a1123849e7af14d3480ac6c879da186ff9 100644 (file)
@@ -47,7 +47,7 @@ public:
        };
 
 private:
-       std::array<bool, NUM_PROPERTIES> property_set;
+       std::array<bool, NUM_PROPERTIES> property_set{};
        std::array<std::string, NUM_PROPERTIES> properties;
 
 public: