Commit c43697c1 authored by Renny Koshy's avatar Renny Koshy

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

parent 4b3d7c2f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment