Просмотр исходного кода

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 год назад
Родитель
Сommit
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);