Blame SOURCES/bz1419049-fix-unused-variables.patch

c33c4b
From 6e855aa91876e6a41324e870439f2c185318be88 Mon Sep 17 00:00:00 2001
c33c4b
From: Ryan O'Hara <rohara@redhat.com>
c33c4b
Date: Wed, 15 Mar 2017 14:46:33 -0500
c33c4b
Subject: [PATCH] Fix unused variables
c33c4b
c33c4b
---
c33c4b
 keepalived/vrrp/vrrp_snmp.c | 4 ++--
c33c4b
 1 file changed, 2 insertions(+), 2 deletions(-)
c33c4b
c33c4b
diff --git a/keepalived/vrrp/vrrp_snmp.c b/keepalived/vrrp/vrrp_snmp.c
c33c4b
index 7956f66..84aa00e 100644
c33c4b
--- a/keepalived/vrrp/vrrp_snmp.c
c33c4b
+++ b/keepalived/vrrp/vrrp_snmp.c
c33c4b
@@ -1112,13 +1112,13 @@ vrrp_snmp_encap(struct variable *vp, oid *name, size_t *length,
c33c4b
 {
c33c4b
 #if HAVE_DECL_LWTUNNEL_ENCAP_MPLS
c33c4b
 	static char labels[11*MAX_MPLS_LABELS];
c33c4b
-#endif
c33c4b
 	char *op;
c33c4b
+	unsigned i;
c33c4b
+#endif
c33c4b
 	ip_route_t *route;
c33c4b
 	nexthop_t *nh;
c33c4b
 	encap_t *encap;
c33c4b
 	int state = HEADER_STATE_STATIC_ROUTE;
c33c4b
-	unsigned i;
c33c4b
 	static struct counter64 c64;
c33c4b
 
c33c4b
 	if (vp->name[vp->namelen - 3] == 7) {
c33c4b
-- 
c33c4b
2.9.3
c33c4b