aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dmp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-09-11 14:07:02 +0000
committerBill Meier <wmeier@newsguy.com>2008-09-11 14:07:02 +0000
commit802f4452b4a3f6220740f65e4502fc6e32000d38 (patch)
tree1871cfde9a7d01ff818cefd36c1ec9dc11dab803 /epan/dissectors/packet-dmp.c
parentba292329e05703e5bdbc7fdcc8346a11dc1d8133 (diff)
Minor cleanup related to proto_reg_handoff ....
svn path=/trunk/; revision=26176
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);