aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2012-06-03 00:00:34 +0100
committerSteve Holme <steve_holme@hotmail.com>2012-06-03 00:00:34 +0100
commit273e9afcc8f42b549ed5bd06e902675045d6fa87 (patch)
treedecca618254df57a3dea0dbaa1eeef8fbd17db44
parent9c7016f5607ede09a9454fa62aaf5102b7ec0086 (diff)
sasl.c: Fix to avoid warnings introduced in commit d9ca9e9869e8
Applied a fix to avoid warnings on systems where Curl_ntlm_sspi_cleanup() is just a nop.
-rw-r--r--lib/curl_sasl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c
index e9a3c18d6..1725af86e 100644
--- a/lib/curl_sasl.c
+++ b/lib/curl_sasl.c
@@ -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
+}