aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ldap.c')
-rw-r--r--epan/dissectors/packet-ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ldap.c b/epan/dissectors/packet-ldap.c
index 03ac98c025..2bbd138f9a 100644
--- a/epan/dissectors/packet-ldap.c
+++ b/epan/dissectors/packet-ldap.c
@@ -4144,7 +4144,7 @@ static void
}
if (decr_tvb) {
- proto_tree *enc_tree;
+ proto_tree *enc_tree = NULL;
/*
* The LDAP message was encrypted in the packet, and has
@@ -4160,7 +4160,7 @@ static void
}
dissect_ldap_payload(decr_tvb, pinfo, enc_tree, ldap_info, is_mscldap);
} else if (plain_tvb) {
- proto_tree *plain_tree;
+ proto_tree *plain_tree = NULL;
/*
* The LDAP message wasn't encrypted in the packet;