From a3a91e9584a6425e245d2417212a267e6a3d93c6 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 30 Nov 2012 12:47:33 -0800 Subject: Get rid of unnecessary initialization. v is set to p later in a loop, and isn't used until then. --- print-pppoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-pppoe.c') diff --git a/print-pppoe.c b/print-pppoe.c index bcc976c4..8040c7ae 100644 --- a/print-pppoe.c +++ b/print-pppoe.c @@ -159,7 +159,7 @@ pppoe_print(register const u_char *bp, u_int length) if (tag_len) { unsigned isascii = 0, isgarbage = 0; - const u_char *v = p; + const u_char *v; char tag_str[MAXTAGPRINT]; unsigned tag_str_len = 0; -- cgit v1.2.1