Fixed some compiler warnings.
authorDan Fandrich <dan@coneharvesters.com>
Fri, 11 Mar 2005 05:49:04 +0000 (05:49 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 11 Mar 2005 05:49:04 +0000 (05:49 +0000)
lib/http_ntlm.c
lib/url.c

index fa71977..cc04cef 100644 (file)
@@ -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
 }
 
index 06b3303..921df3d 100644 (file)
--- 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)