Skip to content
Snippets Groups Projects
Commit b3eae44a authored by Jakob Olsson's avatar Jakob Olsson
Browse files

remove redundant error check

parent 715e333b
Branches
No related tags found
No related merge requests found
......@@ -157,9 +157,6 @@ bool schema_validator_validate_jobj(struct json_object *j_object, const char *ob
goto out;
sch = json::parse(s);
if (!sch)
goto out;
if (s_object->definitions) {
json definitions = json::parse(s_object->definitions);
sch += json::object_t::value_type("definitions", definitions);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment