(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-atm.c) |
| |
| 1984 | | | proto_reg_handoff_atm(void) |
| 1985 | | | { |
| 1986 | | | dissector_handle_t atm_handle, atm_untruncated_handle, atm_4717_handle; |
| 1987 | | | |
| 1988 | | | |
| 1989 | | | |
| 1990 | | | |
| 1991 | | | |
| 1992 | | | eth_withoutfcs_handle = find_dissector("eth_withoutfcs"); |
| 1993 | | | tr_handle = find_dissector("tr"); |
| 1994 | | | fr_handle = find_dissector("fr"); |
| 1995 | | | llc_handle = find_dissector("llc"); |
| 1996 | | | sscop_handle = find_dissector("sscop"); |
| 1997 | | | lane_handle = find_dissector("lane"); |
| 1998 | | | ilmi_handle = find_dissector("ilmi"); |
| 1999 | | | ppp_handle = find_dissector("ppp"); |
| 2000 | | | eth_handle = find_dissector("eth"); |
| 2001 | | | ip_handle = find_dissector("ip"); |
| 2002 | | | data_handle = find_dissector("data"); |
| 2003 | | | fp_handle = find_dissector("fp"); |
| 2004 | | | |
| 2005 | | | atm_handle = create_dissector_handle(dissect_atm, proto_atm); |
| 2006 | | | dissector_add("wtap_encap", WTAP_ENCAP_ATM_PDUS, atm_handle); |
| 2007 | | | |
| 2008 | | | atm_untruncated_handle = create_dissector_handle(dissect_atm_untruncated, |
| 2009 | | | proto_atm); |
| 2010 | | | dissector_add("wtap_encap", WTAP_ENCAP_ATM_PDUS_UNTRUNCATED, |
| 2011 | | | atm_untruncated_handle); |
| 2012 | | | |
| 2013 | | | atm_4717_handle = create_dissector_handle(dissect_atm_4717, proto_atm); |
Unused Value
The value assigned to atm_4717_handle is never subsequently used on any execution path. |
|
| 2014 | | | } |
| |