diff options
Diffstat (limited to 'include/rapidjson')
-rw-r--r-- | include/rapidjson/schema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rapidjson/schema.h b/include/rapidjson/schema.h index 26ae947..1ff8883 100644 --- a/include/rapidjson/schema.h +++ b/include/rapidjson/schema.h @@ -899,7 +899,7 @@ public: } } - SizeType index; + SizeType index = 0; if (FindPropertyIndex(ValueType(str, len).Move(), &index)) { if (context.patternPropertiesSchemaCount > 0) { context.patternPropertiesSchemas[context.patternPropertiesSchemaCount++] = properties_[index].schema; |