]> granicus.if.org Git - curl/commitdiff
curl_sasl.c: Fixed compilation warning when cyptography is disabled
authorSteve Holme <steve_holme@hotmail.com>
Tue, 20 Jan 2015 19:25:43 +0000 (19:25 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Tue, 20 Jan 2015 19:25:43 +0000 (19:25 +0000)
curl_sasl.c:1453: warning C4101: 'serverdata' : unreferenced local
                  variable

lib/curl_sasl.c

index 1f696df243d044313944848af28223cf87b79980..1e0f791bddd6e8648fac2542c87deff09a63a7f1 100644 (file)
@@ -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;