summaryrefslogtreecommitdiff
path: root/libcli/cldap
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-10-30 16:12:19 +0100
committerJeremy Allison <jra@samba.org>2014-10-31 03:47:40 +0100
commitc3b00b99449c7d19de81a2b9e1b8ef776e8cbb20 (patch)
tree3955b6bb688e796822d51dab38052a78cf3df920 /libcli/cldap
parentc98f8ce0740f66ec467f945b638c6f2ede43dc85 (diff)
downloadsamba-c3b00b99449c7d19de81a2b9e1b8ef776e8cbb20.tar.gz
libcli: Make sure status is initialized.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/cldap')
-rw-r--r--libcli/cldap/cldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/cldap/cldap.c b/libcli/cldap/cldap.c
index df81767a760..964cb0a18cd 100644
--- a/libcli/cldap/cldap.c
+++ b/libcli/cldap/cldap.c
@@ -1020,7 +1020,7 @@ NTSTATUS cldap_netlogon_recv(struct tevent_req *req,
{
struct cldap_netlogon_state *state = tevent_req_data(req,
struct cldap_netlogon_state);
- NTSTATUS status;
+ NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
DATA_BLOB *data;
if (tevent_req_is_nterror(req, &status)) {