aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-01-20 19:25:43 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-01-20 19:25:43 +0000
commit71f8fdee810945ef5b3dcc3dd332bfb5f120acff (patch)
tree0ffa9c514c5e8636352bbafdac9e1be5998dde6b
parent6005b0d99cf68f692ea702c011cf075bd02aed6a (diff)
curl_sasl.c: Fixed compilation warning when cyptography is disabled
curl_sasl.c:1453: warning C4101: 'serverdata' : unreferenced local variable
-rw-r--r--lib/curl_sasl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c
index 1f696df24..1e0f791bd 100644
--- a/lib/curl_sasl.c
+++ b/lib/curl_sasl.c
@@ -1450,7 +1450,9 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct connectdata *conn,
saslstate newstate = SASL_FINAL;
char *chlg = NULL;
char *resp = NULL;
+#if !defined(CURL_DISABLE_CRYPTO_AUTH)
char *serverdata;
+#endif
size_t len = 0;
size_t chlglen = 0;