]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_sasl: Fixed compilation warning under DEBUGBUILD
authorSteve Holme <steve_holme@hotmail.com>
Sun, 1 Jun 2014 11:26:09 +0000 (12:26 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 1 Jun 2014 11:29:16 +0000 (12:29 +0100)
lib/curl_sasl.c

index b7effcf87ace089a3f3902f3562eb6dc19901f8a..5edc0efc1948794edf3c1a96b6fc4ea2afaeb749 100644 (file)
@@ -423,7 +423,9 @@ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
   unsigned int cnonce2 = 0;
   unsigned int cnonce3 = 0;
   unsigned int cnonce4 = 0;
+#ifndef DEBUGBUILD
   struct timeval now;
+#endif
 
   char nonceCount[] = "00000001";
   char method[]     = "AUTHENTICATE";