From 62ee3464d99c0e37f38b503321cd46181c5c7617 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 10 Feb 2010 11:23:28 -0800 Subject: [PATCH] ovs-ofctl: Drop assignment whose value is never used. Found by Clang (http://clang-analyzer.llvm.org). --- utilities/ovs-ofctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-ofctl.c b/utilities/ovs-ofctl.c index 2447ba28..7f24309b 100644 --- a/utilities/ovs-ofctl.c +++ b/utilities/ovs-ofctl.c @@ -874,7 +874,7 @@ do_add_flows(int argc UNUSED, char *argv[]) /* Parse and send. str_to_flow() will expand and reallocate the data * in 'buffer', so we can't keep pointers to across the str_to_flow() * call. */ - ofm = make_openflow(sizeof *ofm, OFPT_FLOW_MOD, &buffer); + make_openflow(sizeof *ofm, OFPT_FLOW_MOD, &buffer); str_to_flow(line, &match, buffer, NULL, NULL, &priority, &idle_timeout, &hard_timeout); ofm = buffer->data; -- 2.30.2