Commit 9e907ea2 authored by miloyip's avatar miloyip

Remove unused multiTypeSchema

parent 761561a2
......@@ -89,7 +89,7 @@ struct BaseSchemaArray {
template <typename Encoding>
struct SchemaValidationContext {
SchemaValidationContext(const BaseSchema<Encoding>* s) :
schema(s), valueSchema(), multiTypeSchema(), notValidator(), objectDependencies(), inArray(false)
schema(s), valueSchema(), notValidator(), objectDependencies(), inArray(false)
{
}
......@@ -100,7 +100,6 @@ struct SchemaValidationContext {
const BaseSchema<Encoding>* schema;
const BaseSchema<Encoding>* valueSchema;
const BaseSchema<Encoding>* multiTypeSchema;
SchemaValidatorArray<Encoding> allOfValidators;
SchemaValidatorArray<Encoding> anyOfValidators;
SchemaValidatorArray<Encoding> oneOfValidators;
......@@ -913,9 +912,6 @@ private:
return false;
PopSchema();
if (!schemaStack_.Empty() && CurrentContext().multiTypeSchema)
PopSchema();
return true;
}
......
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