Skip to content

Commit

Permalink
Merge c43697c into 4b3d7c2
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoshy committed Jun 22, 2019
2 parents 4b3d7c2 + c43697c commit fea422e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rapidjson/schema.h
Expand Up @@ -899,7 +899,7 @@ class Schema {
}
}

SizeType index;
SizeType index = 0;
if (FindPropertyIndex(ValueType(str, len).Move(), &index)) {
if (context.patternPropertiesSchemaCount > 0) {
context.patternPropertiesSchemas[context.patternPropertiesSchemaCount++] = properties_[index].schema;
Expand Down

0 comments on commit fea422e

Please sign in to comment.