From 83da877fffaa3de727809918070dafb4d590e1fd Mon Sep 17 00:00:00 2001 From: Evan Huus Date: Tue, 24 Jun 2014 18:25:15 -0400 Subject: 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 --- epan/dissectors/packet-ldap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan') 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; -- cgit v1.2.3