]> granicus.if.org Git - curl/commitdiff
curl_sasl.c: Fixed compilation warning when cryptography is disabled
authorSteve Holme <steve_holme@hotmail.com>
Thu, 29 Jan 2015 11:48:11 +0000 (11:48 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 29 Jan 2015 11:48:11 +0000 (11:48 +0000)
curl_sasl.c:1506: warning: unused variable 'chlg'

lib/curl_sasl.c

index c7dbdd02b235d4a0a75c8504de931349048d8d99..c6b95a6c9671a013065ac96cf037c9d3f24e20db 100644 (file)
@@ -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;