From fb9ae9d0e2e3397d3072fd89a4f103907bff1a28 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 11 Mar 2005 05:49:04 +0000 Subject: [PATCH] Fixed some compiler warnings. --- lib/http_ntlm.c | 2 ++ lib/url.c | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index fa71977..cc04cef 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 06b3303..921df3d 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 #if defined(HAVE_INET_NTOA_R) && !defined(HAVE_INET_NTOA_R_DECL) -- 2.7.4