]> granicus.if.org Git - curl/commitdiff
sasl.c: Fix to avoid warnings introduced in commit d9ca9e9869e8
authorSteve Holme <steve_holme@hotmail.com>
Sat, 2 Jun 2012 23:00:34 +0000 (00:00 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 2 Jun 2012 23:00:34 +0000 (00:00 +0100)
Applied a fix to avoid warnings on systems where Curl_ntlm_sspi_cleanup()
is just a nop.

lib/curl_sasl.c

index e9a3c18d6c06adf290fb3d273fd8c9ef73e1a1e8..1725af86e017af8c3fb54ce7a6dad553cc3cd6de 100644 (file)
@@ -199,9 +199,10 @@ void Curl_sasl_cleanup(struct connectdata *conn, unsigned int authused)
   if(authused == SASL_AUTH_NTLM) {
     Curl_ntlm_sspi_cleanup(&conn->ntlm);
   }
+  (void)conn;
 #else
   /* Reserved for future use */
   (void)conn;
   (void)authused;
 #endif
-}
\ No newline at end of file
+}