summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2016-06-28 22:02:23 -0700
committerBen Pfaff <blp@ovn.org>2016-07-02 21:19:22 -0700
commit6ee9536320c142b624f351eaac96d701acf74149 (patch)
treede9eea42fe343458e1c0d165d5dc9b0d3c7676fb /tests
parent88b87a36123e5ce3704b5e79950e83651db43ef7 (diff)
downloadopenvswitch-6ee9536320c142b624f351eaac96d701acf74149.tar.gz
Fix dead assignments.
Found by Clang. Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/test-ovsdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-ovsdb.c b/tests/test-ovsdb.c
index aa7921d03..61ba7d8b4 100644
--- a/tests/test-ovsdb.c
+++ b/tests/test-ovsdb.c
@@ -2244,7 +2244,7 @@ do_idl_partial_update_map_column(struct ovs_cmdl_context *ctx)
/* Insert new elements in different map columns */
myRow = idltest_simple2_first(idl);
myTxn = ovsdb_idl_txn_create(idl);
- smap = idltest_simple2_get_smap(myRow, OVSDB_TYPE_STRING,
+ idltest_simple2_get_smap(myRow, OVSDB_TYPE_STRING,
OVSDB_TYPE_STRING);
idltest_simple2_update_smap_setkey(myRow, "key1", "myList1");
imap = idltest_simple2_get_imap(myRow, OVSDB_TYPE_INTEGER,