aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h450
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-11-04 21:42:02 +0000
committerBill Meier <wmeier@newsguy.com>2008-11-04 21:42:02 +0000
commitf35324d0fd73a8fbbfc922e91823ef6b3a1ae4ec (patch)
treea93ec5381270aa4229984585ea3ec7320ccdcf33 /asn1/h450
parenta3d5cbf5d82252d097dc4e637fc218a491d30bc5 (diff)
downloadwireshark-f35324d0fd73a8fbbfc922e91823ef6b3a1ae4ec.tar.gz
wireshark-f35324d0fd73a8fbbfc922e91823ef6b3a1ae4ec.tar.bz2
wireshark-f35324d0fd73a8fbbfc922e91823ef6b3a1ae4ec.zip
Minor cleanup mostly related to proto_reg_handoff
Remove code for unused handles; Localize handles (in proto_reg_handoff) which need not be global; Localize (in proto_reg_handoff) "saved prefs"; Use find_dissector instead of create_dissector_handle as appropriate; Use gboolean for "initialized" flag in proto_reg_handoff. svn path=/trunk/; revision=26693
Diffstat (limited to 'asn1/h450')
-rw-r--r--asn1/h450/packet-h450-template.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/asn1/h450/packet-h450-template.c b/asn1/h450/packet-h450-template.c
index 2c8420dd95..5905bc1079 100644
--- a/asn1/h450/packet-h450-template.c
+++ b/asn1/h450/packet-h450-template.c
@@ -71,9 +71,6 @@ static const value_string h450_str_error[] = {
/* ROSE context */
static rose_ctx_t h450_rose_ctx;
-/* Subdissectors */
-static dissector_handle_t data_handle = NULL;
-
/* Global variables */
#include "packet-h450-fn.c"
@@ -292,8 +289,6 @@ proto_reg_handoff_h450(void)
dissector_handle_t h450_res_handle;
dissector_handle_t h450_err_handle;
- data_handle = find_dissector("data");
-
h450_arg_handle = new_create_dissector_handle(dissect_h450_arg, proto_h450);
h450_res_handle = new_create_dissector_handle(dissect_h450_res, proto_h450);
for (i=0; i<(int)array_length(h450_op_tab); i++) {