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>
This commit is contained in:
Evan Huus 2014-06-24 18:25:15 -04:00
parent 09b86bdb0c
commit 83da877fff
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;