diff options
| author | Guy Harris <guy@alum.mit.edu> | 2012-11-30 12:47:33 -0800 |
|---|---|---|
| committer | Guy Harris <guy@alum.mit.edu> | 2012-11-30 12:47:55 -0800 |
| commit | 548704c270dfc05397fb5d22e248fb8754c4fb71 (patch) | |
| tree | 65977b2bd4305bc7967e778a7474b7afe77f0e95 | |
| parent | 53a2010aaa1446113710eb31727450637fd953fe (diff) | |
| download | tcpdump-548704c270dfc05397fb5d22e248fb8754c4fb71.tar.gz | |
Get rid of unnecessary initialization.
v is set to p later in a loop, and isn't used until then.
| -rw-r--r-- | print-pppoe.c | 2 |
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; |
