diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-11-04 21:42:02 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-11-04 21:42:02 +0000 |
commit | f35324d0fd73a8fbbfc922e91823ef6b3a1ae4ec (patch) | |
tree | a93ec5381270aa4229984585ea3ec7320ccdcf33 /asn1/rrlp/packet-rrlp-template.c | |
parent | a3d5cbf5d82252d097dc4e637fc218a491d30bc5 (diff) |
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/rrlp/packet-rrlp-template.c')
-rw-r--r-- | asn1/rrlp/packet-rrlp-template.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/asn1/rrlp/packet-rrlp-template.c b/asn1/rrlp/packet-rrlp-template.c index 8781e5d9d5..415954d28a 100644 --- a/asn1/rrlp/packet-rrlp-template.c +++ b/asn1/rrlp/packet-rrlp-template.c @@ -53,8 +53,6 @@ #pragma warning(disable:4146) #endif -static dissector_handle_t rrlp_handle=NULL; - /* Initialize the protocol and registered fields */ static int proto_rrlp = -1; @@ -106,9 +104,6 @@ void proto_reg_handoff_rrlp(void) { - rrlp_handle = create_dissector_handle(dissect_PDU_PDU, proto_rrlp); - - } |