Pārlūkot izejas kodu

Merge topic 'preset-comments'

ccd4612296 cmJSONState: Add missing member initializer

Acked-by: Kitware Robot <[email protected]>
Acked-by: buildbot <[email protected]>
Merge-request: !9645
Brad King 1 gadu atpakaļ
vecāks
revīzija
0b5df717ba
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Source/cmJSONState.h

+ 1 - 1
Source/cmJSONState.h

@@ -65,7 +65,7 @@ public:
   std::vector<JsonPair> parseStack;
   std::vector<Error> errors;
   std::string doc;
-  bool allowComments;
+  bool allowComments = false;
 
 private:
   std::string GetJsonContext(Location loc);