- Fixed a build issue by initializing "index" in the header file

This commit is contained in:
Renny Koshy 2019-06-21 23:55:32 -04:00
parent 4b3d7c2f42
commit c43697c16c

View File

@ -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;