aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2005-03-11 05:49:04 +0000
committerDan Fandrich <dan@coneharvesters.com>2005-03-11 05:49:04 +0000
commitfb9ae9d0e2e3397d3072fd89a4f103907bff1a28 (patch)
treebca97c5ca758d2a81364167b1c9b55cad0ef5500
parentdd54d8551bcfad3d4689acb539dc01438be004b4 (diff)
Fixed some compiler warnings.
-rw-r--r--lib/http_ntlm.c2
-rw-r--r--lib/url.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c
index fa719774c..cc04cef51 100644
--- a/lib/http_ntlm.c
+++ b/lib/http_ntlm.c
@@ -762,6 +762,8 @@ Curl_ntlm_cleanup(struct connectdata *conn)
#ifdef USE_WINDOWS_SSPI
ntlm_sspi_cleanup(&conn->ntlm);
ntlm_sspi_cleanup(&conn->proxyntlm);
+#else
+ (void)conn;
#endif
}
diff --git a/lib/url.c b/lib/url.c
index 06b330391..921df3d15 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -130,6 +130,7 @@ void idn_free (void *ptr); /* prototype from idn-free.h, not provided by
#include "url.h"
#include "connect.h"
#include "inet_ntop.h"
+#include "http_ntlm.h"
#include <ca-bundle.h>
#if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL)