projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b87a3
)
Fix dead assignments.
author
William Tu
<u9012063@gmail.com>
Wed, 29 Jun 2016 05:02:23 +0000
(22:02 -0700)
committer
Ben Pfaff
<blp@ovn.org>
Sun, 3 Jul 2016 04:19:22 +0000
(21:19 -0700)
Found by Clang.
Signed-off-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/dpif-netdev.c
patch
|
blob
|
history
tests/test-ovsdb.c
patch
|
blob
|
history
diff --git
a/lib/dpif-netdev.c
b/lib/dpif-netdev.c
index
ff4227c
..
37c2631
100644
(file)
--- a/
lib/dpif-netdev.c
+++ b/
lib/dpif-netdev.c
@@
-2842,7
+2842,6
@@
pmd_thread_main(void *f_)
int poll_cnt;
int i;
- poll_cnt = 0;
poll_list = NULL;
/* Stores the pmd thread's 'pmd' to 'per_pmd_key'. */
diff --git
a/tests/test-ovsdb.c
b/tests/test-ovsdb.c
index
aa7921d
..
61ba7d8
100644
(file)
--- 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,