diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-10-17 12:20:25 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-10-17 12:20:25 +0000 |
commit | ce60782e089a621f01778c958f02b771d15954c3 (patch) | |
tree | 5c318946e415e701e6fbf27f61090b58e2aaa66c /epan/dissectors/packet-coap.c | |
parent | 38ba5119cd39c2a576e35e0ecae944aaffa12260 (diff) |
coap_handle is only used in proto_reg_handoff_coap.
svn path=/trunk/; revision=34532
Diffstat (limited to 'epan/dissectors/packet-coap.c')
-rw-r--r-- | epan/dissectors/packet-coap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-coap.c b/epan/dissectors/packet-coap.c index 0dedc8da3e..a447ee71c7 100644 --- a/epan/dissectors/packet-coap.c +++ b/epan/dissectors/packet-coap.c @@ -38,7 +38,6 @@ #include <epan/prefs.h> #include <epan/expert.h> -static dissector_handle_t coap_handle; static dissector_table_t media_type_dissector_table; static int proto_coap = -1; @@ -400,6 +399,7 @@ void proto_reg_handoff_coap(void) { static gboolean coap_prefs_initialized = FALSE; + static dissector_handle_t coap_handle; static guint coap_port_number; if (!coap_prefs_initialized) { |