summaryrefslogtreecommitdiff
path: root/ovsdb
diff options
context:
space:
mode:
authorDamijan Skvarc <damjan.skvarc@gmail.com>2019-10-29 14:04:58 +0100
committerBen Pfaff <blp@ovn.org>2019-10-30 10:33:52 -0700
commit7139ca5521abbb23fee0cd356ec580b01d3e563a (patch)
tree94670baeb68255a233d762e627aa4f17221c6a68 /ovsdb
parente50547b51a4362a53f6a4d1af90ee32837ed664e (diff)
downloadopenvswitch-7139ca5521abbb23fee0cd356ec580b01d3e563a.tar.gz
ovsdb-execute: Remove unused variable from ovsdb_execute_mutate().
Signed-off-by: Damijan Skvarc <damjan.skvarc@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovsdb')
-rw-r--r--ovsdb/execution.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ovsdb/execution.c b/ovsdb/execution.c
index c55a0b771..f2cf3d72d 100644
--- a/ovsdb/execution.c
+++ b/ovsdb/execution.c
@@ -562,7 +562,6 @@ ovsdb_execute_mutate(struct ovsdb_execution *x, struct ovsdb_parser *parser,
const struct json *mutations_json;
struct ovsdb_condition condition = OVSDB_CONDITION_INITIALIZER(&condition);
struct ovsdb_mutation_set mutations = OVSDB_MUTATION_SET_INITIALIZER;
- struct ovsdb_row *row = NULL;
struct mutate_row_cbdata mr;
struct ovsdb_error *error;
@@ -595,7 +594,6 @@ ovsdb_execute_mutate(struct ovsdb_execution *x, struct ovsdb_parser *parser,
json_object_put(result, "count", json_integer_create(mr.n_matches));
}
- ovsdb_row_destroy(row);
ovsdb_mutation_set_destroy(&mutations);
ovsdb_condition_destroy(&condition);