lib/clap fix compiler warnings
authorChristian Ambach <ambi@samba.org>
Tue, 10 Dec 2013 16:47:50 +0000 (17:47 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 12 Dec 2013 22:21:27 +0000 (14:21 -0800)
about set but unused variable

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/cldap/cldap.c

index e54309190a09d5851657ca90fdf26efb9e4b17b1..eb4f102e6ab1d318c0b0b5ceaa5b440f8b4baf23 100644 (file)
@@ -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;
                }