diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-08 19:15:28 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-08 19:15:28 -0700 |
commit | e6ee88e5f784199a25a1a79d9b77aa5be69dc366 (patch) | |
tree | e064fddfb8092b7c0c2fb0d3fad2bada070c0390 /print-lwapp.c | |
parent | 5bc4bf28c9d4e734c793ff591627d3c01cf6b4b7 (diff) | |
download | tcpdump-e6ee88e5f784199a25a1a79d9b77aa5be69dc366.tar.gz |
Get rid of unused (but set) variable.
Diffstat (limited to 'print-lwapp.c')
-rw-r--r-- | print-lwapp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/print-lwapp.c b/print-lwapp.c index 984ebaa3..154876f5 100644 --- a/print-lwapp.c +++ b/print-lwapp.c @@ -174,7 +174,7 @@ lwapp_control_print(const u_char *pptr, u_int len, int has_ap_ident) { const struct lwapp_transport_header *lwapp_trans_header; const struct lwapp_control_header *lwapp_control_header; const u_char *tptr; - int hexdump,tlen; + int tlen; int msg_tlen; tptr=pptr; @@ -247,7 +247,6 @@ lwapp_control_print(const u_char *pptr, u_int len, int has_ap_ident) { /* did we capture enough for fully decoding the message */ if (!TTEST2(*tptr, msg_tlen)) goto trunc; - hexdump=FALSE; /* XXX - Decode sub messages for each message */ switch(lwapp_control_header->msg_type) { |