summaryrefslogtreecommitdiff
path: root/libcli/cldap/cldap.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-12-10 17:47:50 +0100
committerJeremy Allison <jra@samba.org>2013-12-12 14:21:27 -0800
commit23fc48cfb194cec646f05d79dcfc23c2549d6ff8 (patch)
treef99bdb84c8010cddf7c20931d200fb6f48095efb /libcli/cldap/cldap.c
parent6d88bfcab47abe55fb731b16d7f4fea47d5cd744 (diff)
downloadsamba-23fc48cfb194cec646f05d79dcfc23c2549d6ff8.tar.gz
lib/clap fix compiler warnings
about set but unused variable Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/cldap/cldap.c')
-rw-r--r--libcli/cldap/cldap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcli/cldap/cldap.c b/libcli/cldap/cldap.c
index e54309190a0..eb4f102e6ab 100644
--- a/libcli/cldap/cldap.c
+++ b/libcli/cldap/cldap.c
@@ -930,8 +930,7 @@ char *cldap_netlogon_create_filter(TALLOC_CTX *mem_ctx,
}
if (io->in.domain_guid) {
struct GUID guid;
- NTSTATUS status;
- status = GUID_from_string(io->in.domain_guid, &guid);
+ GUID_from_string(io->in.domain_guid, &guid);
if (filter == NULL) {
return NULL;
}