diff options
author | Evan Huus <eapache@gmail.com> | 2014-06-24 18:25:15 -0400 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-06-24 22:28:11 +0000 |
commit | 83da877fffaa3de727809918070dafb4d590e1fd (patch) | |
tree | 3cb7d7dd20574eb7895a53345dbeaa95879889b5 | |
parent | 09b86bdb0ce6602f1c15a8fccd4057aeb1d2e823 (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>
-rw-r--r-- | asn1/ldap/packet-ldap-template.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-ldap.c | 4 |
2 files changed, 4 insertions, 4 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; 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; |