From f606c7e99465477cf0533ecbc4795a0f8fe635e0 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Tue, 16 Oct 2012 15:40:27 -0700 Subject: [PATCH] ofp-actions: Remove unused variable. Signed-off-by: Ethan Jackson --- lib/ofp-actions.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c index 4a72e29c..4a63acb3 100644 --- a/lib/ofp-actions.c +++ b/lib/ofp-actions.c @@ -1544,8 +1544,7 @@ ofpacts_put_openflow11_instructions(const struct ofpact ofpacts[], /* TODO:XXX Write-Actions */ /* TODO:XXX Write-Metadata */ if (a->type == OFPACT_CLEAR_ACTIONS) { - struct ofp11_instruction *oi; - oi = instruction_put_OFPIT11_CLEAR_ACTIONS(openflow); + instruction_put_OFPIT11_CLEAR_ACTIONS(openflow); } else if (a->type == OFPACT_GOTO_TABLE) { struct ofp11_instruction_goto_table *oigt; -- 2.30.2