aboutsummaryrefslogtreecommitdiffstats
path: root/epan
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 /epan
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 'epan')
-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;