diff options
author | Steve Holme <steve_holme@hotmail.com> | 2015-01-29 11:48:11 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2015-01-29 11:48:11 +0000 |
commit | 8ca3b05624981654e3a89d32084cf003bd8240a1 (patch) | |
tree | 4f9d9d17296fbdbead6f11071091cdb8bc7582e3 | |
parent | 6fdc8651bdeb200e839b8f6ae6fbca19fb27d579 (diff) |
curl_sasl.c: Fixed compilation warning when cryptography is disabled
curl_sasl.c:1506: warning: unused variable 'chlg'
-rw-r--r-- | lib/curl_sasl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c index c7dbdd02b..c6b95a6c9 100644 --- a/lib/curl_sasl.c +++ b/lib/curl_sasl.c @@ -1503,10 +1503,10 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct connectdata *conn, CURLcode result = CURLE_OK; struct SessionHandle *data = conn->data; saslstate newstate = SASL_FINAL; - char *chlg = NULL; char *resp = NULL; #if !defined(CURL_DISABLE_CRYPTO_AUTH) char *serverdata; + char *chlg = NULL; size_t chlglen = 0; #endif size_t len = 0; |