aboutsummaryrefslogtreecommitdiffstats
path: root/epan/xdlc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-07-08 02:31:45 +0000
committerGuy Harris <guy@alum.mit.edu>2005-07-08 02:31:45 +0000
commitf64a0aa20bfb5664dcea1ba1627c632b26ac5afb (patch)
treee009314894c7bb807f0c39418ef1b55eb0845400 /epan/xdlc.c
parent782847092387a4b32ed5cc35b957260674843d05 (diff)
Get rid of most unused arguments and variables (including some that are
set but not used). (Leave "pi" around so the warning acts as a reminder that the tap structure stuff needs a cleanup - currently, the tap structures aren't freed; perhaps the new memory allocation scheme proposed by Ronnie could be used for tap structures.) Have "ac_istrace()" return NOT_ACTRACE for apparently non-actrace packets and return the packet type for actrace packets, so that we don't need a global variable for the packet type. Make "actrace_udp_port" unsigned to squelch a signed vs. unsigned warning. Use "col_set_str()" rather than "col_add_str()" when setting the Protocol column. We don't recognized packets as CAS packets unless they're 48 bytes long, so we don't need to test whether they're 48 bytes long in the CAS packet dissection code. Use the reported length, not the captured length, when doing length checks. svn path=/trunk/; revision=14874
Diffstat (limited to 'epan/xdlc.c')
0 files changed, 0 insertions, 0 deletions