Unverified Commit 1a825d24 authored by Milo Yip's avatar Milo Yip Committed by GitHub

Merge pull request #1529 from rkoshy/master

Fixed a build issue by initializing "index" in the header file
parents 6a6bed27 c43697c1
Pipeline #355 failed with stages
......@@ -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