diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-12-18 12:29:08 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-12-18 12:29:08 -0800 |
commit | 57efe20b3514cf6ad56b01097f680d3a416fed7d (patch) | |
tree | 34e479969b46457ead640902b58ce517507cc7a2 /print-bgp.c | |
parent | 1af717b1ac96012ce65ed1e3568b2b4d7a15b972 (diff) | |
download | tcpdump-57efe20b3514cf6ad56b01097f680d3a416fed7d.tar.gz |
Get rid of an unused variable.
Diffstat (limited to 'print-bgp.c')
-rw-r--r-- | print-bgp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/print-bgp.c b/print-bgp.c index 8a047613..894e413b 100644 --- a/print-bgp.c +++ b/print-bgp.c @@ -2601,7 +2601,6 @@ static void bgp_update_print(netdissect_options *ndo, const u_char *dat, u_int length) { - const struct bgp *bgp_header; const u_char *p; u_int withdrawn_routes_len; char buf[MAXHOSTNAMELEN + 100]; @@ -2614,7 +2613,6 @@ bgp_update_print(netdissect_options *ndo, ND_TCHECK_LEN(dat, BGP_SIZE); if (length < BGP_SIZE) goto trunc; - bgp_header = (const struct bgp *)dat; p = dat + BGP_SIZE; length -= BGP_SIZE; |