X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ovsdb%2Fexecution.c;h=a96abfcaf959d6f463fb0f8b7348228ef34dddf1;hb=e6494c64e35f62411f770be086ba6a0914afaf5d;hp=7ce9a3f5067245abdd5aa9fb9526da4c1901b494;hpb=1089aab7136612acb86cdcd638d7d2261311531a;p=openvswitch diff --git a/ovsdb/execution.c b/ovsdb/execution.c index 7ce9a3f5..a96abfca 100644 --- a/ovsdb/execution.c +++ b/ovsdb/execution.c @@ -103,8 +103,6 @@ ovsdb_execute(struct ovsdb *db, const struct json *params, || !params->u.array.n || params->u.array.elems[0]->type != JSON_STRING || strcmp(params->u.array.elems[0]->u.string, db->schema->name)) { - struct ovsdb_error *error; - if (params->type != JSON_ARRAY) { error = ovsdb_syntax_error(params, NULL, "array expected"); } else {