Clang reports that value store to 'batch_size' is never read.
Signed-off-by: Bhanuprakash Bodireddy <[email protected]>
---
tests/test-conntrack.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/test-conntrack.c b/tests/test-conntrack.c
index f79a9fc..5d2f8b8 100644
--- a/tests/test-conntrack.c
+++ b/tests/test-conntrack.c
@@ -197,7 +197,6 @@ test_pcap(struct ovs_cmdl_context *ctx)
return;
}
- batch_size = 1;
if (ctx->argc > 2) {
batch_size = strtoul(ctx->argv[2], NULL, 0);
if (batch_size == 0 || batch_size > NETDEV_MAX_BURST) {
--
2.4.11
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev