aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/ldap
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-06-24 18:25:15 -0400
committerEvan Huus <eapache@gmail.com>2014-06-24 22:28:11 +0000
commit83da877fffaa3de727809918070dafb4d590e1fd (patch)
tree3cb7d7dd20574eb7895a53345dbeaa95879889b5 /asn1/ldap
parent09b86bdb0ce6602f1c15a8fccd4057aeb1d2e823 (diff)
Add back initializers dropped in g9356d5c689fa
They were actually necessary. Bug:10224 Change-Id: I9973bf7bab670d12e5b90bb2a57e99f9125d6a07 Reviewed-on: https://code.wireshark.org/review/2632 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'asn1/ldap')
-rw-r--r--asn1/ldap/packet-ldap-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/ldap/packet-ldap-template.c b/asn1/ldap/packet-ldap-template.c
index 60dc7953f9..597d66d6d0 100644
--- a/asn1/ldap/packet-ldap-template.c
+++ b/asn1/ldap/packet-ldap-template.c
@@ -1228,7 +1228,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
@@ -1244,7 +1244,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;