]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Get rid of a "unused variable" warning when NTLM fail open isn't enabled
authorhno <>
Thu, 18 Oct 2001 03:05:00 +0000 (03:05 +0000)
committerhno <>
Thu, 18 Oct 2001 03:05:00 +0000 (03:05 +0000)
helpers/ntlm_auth/SMB/ntlm_auth.c

index 136301388d2d3cd7e305cf1c97f8bef4201679fb..ff9cd3733384c2c8e9425cbc2b2e27cde70b1faa 100644 (file)
@@ -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) {