From 4aec74ccc429555479699b1632e4421df9c69ffd Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Tue, 26 Nov 2013 00:16:47 +0400 Subject: Fix compilation warnings: set but unused variables. --- print-pim.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'print-pim.c') diff --git a/print-pim.c b/print-pim.c index 3cd68109..71360836 100644 --- a/print-pim.c +++ b/print-pim.c @@ -121,7 +121,7 @@ static void pimv2_print(register const u_char *bp, register u_int len, u_int cks static void pimv1_join_prune_print(register const u_char *bp, register u_int len) { - int maddrlen, addrlen, ngroups, njoin, nprune; + int ngroups, njoin, nprune; int njp; /* If it's a single group and a single source, use 1-line output. */ @@ -162,8 +162,6 @@ pimv1_join_prune_print(register const u_char *bp, register u_int len) len -= 8; TCHECK2(bp[0], 4); - maddrlen = bp[1]; - addrlen = bp[2]; ngroups = bp[3]; bp += 4; len -= 4; -- cgit v1.2.1