Explorar el Código

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 hace 1 año
padre
commit
0b5df717ba
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);