aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dmp.c
diff options
context:
space:
mode:
authorwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-09-11 14:07:02 +0000
committerwmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7>2008-09-11 14:07:02 +0000
commit007813964c4564970fad1fecf00a01d68505e671 (patch)
tree1871cfde9a7d01ff818cefd36c1ec9dc11dab803 /epan/dissectors/packet-dmp.c
parentcba041614905a545bb151e7468328e9b3ec99a6d (diff)
Minor cleanup related to proto_reg_handoff ....
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26176 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-dmp.c')
-rw-r--r--epan/dissectors/packet-dmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dmp.c b/epan/dissectors/packet-dmp.c
index ec06fabc0c..4683070b45 100644
--- a/epan/dissectors/packet-dmp.c
+++ b/epan/dissectors/packet-dmp.c
@@ -409,7 +409,7 @@ static gint ett_checksum = -1;
static gint ett_analysis = -1;
-static dissector_handle_t dmp_handle = NULL;
+static dissector_handle_t dmp_handle;
typedef struct _dmp_id_key {
guint id;
@@ -4414,7 +4414,7 @@ static void range_add_callback (guint32 port)
void proto_reg_handoff_dmp (void)
{
- static int dmp_prefs_initialized = FALSE;
+ static gboolean dmp_prefs_initialized = FALSE;
if (!dmp_prefs_initialized) {
dmp_handle = create_dissector_handle (dissect_dmp, proto_dmp);