summaryrefslogtreecommitdiff
path: root/print-pppoe.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-11-30 12:47:33 -0800
committerGuy Harris <guy@alum.mit.edu>2012-11-30 12:47:33 -0800
commita3a91e9584a6425e245d2417212a267e6a3d93c6 (patch)
tree6ae7c921a019ace5c4e3a98f964bb01c619e9551 /print-pppoe.c
parented6a7d8f2deb14d4ed3828f84779838fe9875f02 (diff)
downloadtcpdump-a3a91e9584a6425e245d2417212a267e6a3d93c6.tar.gz
Get rid of unnecessary initialization.
v is set to p later in a loop, and isn't used until then.
Diffstat (limited to 'print-pppoe.c')
-rw-r--r--print-pppoe.c2
1 files changed, 1 insertions, 1 deletions
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;