cmJSONState: Add missing member initializer
In commit 7d2cc6ece6
(presets: Allow comments in presets files,
2024-06-23) we added a member without an initializer. This causes
dynamic analysis to report use of an uninitialized value.
This commit is contained in:
parent
ead3548bed
commit
ccd4612296
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user