From b5f9176b6ca8c137d5c065abed943fa437b5531f Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Tue, 24 Jun 2008 15:53:23 +0200 Subject: [PATCH] rpc_client: Avoid warning in builds without krb5 headers. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit warning: ‘cli_auth_kerberos_data_destructor’ defined but not used Karolin --- source/rpc_client/cli_pipe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c index ba6fbddf7f6..2fd0a6e7ebf 100644 --- a/source/rpc_client/cli_pipe.c +++ b/source/rpc_client/cli_pipe.c @@ -2439,11 +2439,13 @@ NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain, return NT_STATUS_NO_MEMORY; } +#ifdef HAVE_KRB5 static int cli_auth_kerberos_data_destructor(struct kerberos_auth_struct *auth) { data_blob_free(&auth->session_key); return 0; } +#endif NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx, enum pipe_auth_level auth_level, -- 2.11.4.GIT