projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid writes to variables that are never read back.
[openvswitch]
/
lib
/
ofp-print.c
diff --git
a/lib/ofp-print.c
b/lib/ofp-print.c
index 7479bf222ca98840615afced3306c9b4ae2f1ee1..1757a30c3be522c69f1d1bef60123e90da51c619 100644
(file)
--- a/
lib/ofp-print.c
+++ b/
lib/ofp-print.c
@@
-480,7
+480,7
@@
ofp_print_bit_names(struct ds *string, uint32_t bits,
}
if (bits) {
- if (n
++
) {
+ if (n) {
ds_put_char(string, ' ');
}
ds_put_format(string, "0x%"PRIx32, bits);