diff options
author | Michael Mann <mmann78@netscape.net> | 2015-11-25 09:30:38 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-26 03:18:30 +0000 |
commit | 486dd13af3784a7303c8c48fdc11487bb5e0e46c (patch) | |
tree | d692ce831301ebcf5c7f67a0cc08d75971fde371 /epan/packet.c | |
parent | b9b6f3f68e25e87e189bda24a0c63188df285803 (diff) |
Remove create_dissector_handle
Change-Id: I1ad7c112eda45a41c3f94b04348e328d44d8f585
Reviewed-on: https://code.wireshark.org/review/12152
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/packet.c')
-rw-r--r-- | epan/packet.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/epan/packet.c b/epan/packet.c index 00b4f695eb..3c30c68b2e 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -2596,21 +2596,6 @@ dissector_handle_get_dissector_name(const dissector_handle_t handle) return handle->name; } -/* Create an anonymous handle for a dissector. */ -dissector_handle_t -create_dissector_handle(dissector_t dissector, const int proto) -{ - struct dissector_handle *handle; - - handle = wmem_new(wmem_epan_scope(), struct dissector_handle); - handle->name = NULL; - handle->is_new = FALSE; - handle->dissector.old = dissector; - handle->protocol = find_protocol_by_id(proto); - - return handle; -} - /* Create an anonymous handle for a new dissector. */ dissector_handle_t new_create_dissector_handle(new_dissector_t dissector, const int proto) |