From 23fc48cfb194cec646f05d79dcfc23c2549d6ff8 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 10 Dec 2013 17:47:50 +0100 Subject: [PATCH] lib/clap fix compiler warnings about set but unused variable Signed-off-by: Christian Ambach Reviewed-by: Jeremy Allison --- libcli/cldap/cldap.c | 3 +-- 1 file changed, 1 insertion(+), 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; } -- 2.34.1