From 1ab91d1e9ea4e4f22386390b7c75a4d98c397602 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Thu, 17 Nov 2011 15:14:08 -0800 Subject: [PATCH] ofproto: Remove dead variable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes the following gcc warning: "error: variable ‘flow_vid’ set but not used [-Werror=unused-but-set-variable]" --- ofproto/ofproto-dpif.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 3e92493c2..e220d96b3 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -4617,14 +4617,12 @@ output_mirrors(struct action_xlate_ctx *ctx, { struct ofproto_dpif *ofproto = ctx->ofproto; mirror_mask_t mirrors; - uint16_t flow_vid; mirrors = in_bundle->src_mirrors | dst_mirrors; if (!mirrors) { return; } - flow_vid = vlan_tci_to_vid(ctx->flow.vlan_tci); while (mirrors) { struct ofmirror *m; -- 2.43.0