This series fixes some of Clang's scan-build warnings reported.
v2:
- Split patch two into two, i.e. put the actual fix in a separate patch.
- Updated commit messages.
Eelco Chaudron (5):
general: Fix Clang's static analyzer 'Dead initialization' warnings.
general: Fix Clang's static analyzer 'Dead assignment' warnings.
ofp-table: Fix count_common_prefix_run() function.
ovsdb: Fix Clang's static analyzer 'func null dereference' warnings.
netdev-offload: Fix Clang's static analyzer 'Division by zero' warnings.
lib/dpif-netdev.c | 4 ++++
lib/meta-flow.c | 4 ++--
lib/netdev-offload.c | 3 ++-
lib/ofp-actions.c | 8 +++++---
lib/ofp-monitor.c | 2 +-
lib/ofp-table.c | 2 +-
ovsdb/mutation.c | 14 ++++++++++++--
tests/test-id-fpool.c | 2 +-
tests/test-mpsc-queue.c | 2 +-
9 files changed, 29 insertions(+), 12 deletions(-)
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev