From: Guy Harris Date: Fri, 30 Nov 2012 20:47:33 +0000 (-0800) Subject: Get rid of unnecessary initialization. X-Git-Tag: tcpdump-4.4.0~10 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/a3a91e9584a6425e245d2417212a267e6a3d93c6 Get rid of unnecessary initialization. v is set to p later in a loop, and isn't used until then. --- 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;