Преглед на файлове

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 година
родител
ревизия
0b5df717ba
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);