From 13bf0a40392af4345ab28f3d2565423501071aa6 Mon Sep 17 00:00:00 2001 From: hno <> Date: Thu, 18 Oct 2001 03:05:00 +0000 Subject: [PATCH] Get rid of a "unused variable" warning when NTLM fail open isn't enabled --- helpers/ntlm_auth/SMB/ntlm_auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/ntlm_auth/SMB/ntlm_auth.c b/helpers/ntlm_auth/SMB/ntlm_auth.c index 136301388d..ff9cd37333 100644 --- a/helpers/ntlm_auth/SMB/ntlm_auth.c +++ b/helpers/ntlm_auth/SMB/ntlm_auth.c @@ -101,8 +101,8 @@ lc(char *string) void send_bh_or_ld(char *bhmessage, ntlm_authenticate * failedauth, int authlen) { - char *creds = NULL; #ifdef NTLM_FAIL_OPEN + char *creds = NULL; if (last_ditch_enabled) { creds = fetch_credentials(failedauth, authlen); if (creds) { -- 2.47.2