From dc4f9d185da188f7b46cc6fadd86a24c333a9be8 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 14 Aug 2011 16:36:47 +0200 Subject: http NTLM: fix 8 compiler warnings Strict splitting of http_ntlm.[ch] may trigger 8 compiler warnings when building with some compilers and strict compiler warnings enabled, depending on other specific configuration options some could get triggered or not. Seven are related with 'unused function parameters' and another one with 'var may be used before its value is set'. --- lib/http_ntlm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http_ntlm.c') diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index 756ff527f..0813839dd 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -444,7 +444,7 @@ CURLcode Curl_output_ntlm_sso(struct connectdata *conn, CURLcode Curl_output_ntlm(struct connectdata *conn, bool proxy) { - size_t size; + size_t size = 0; char *base64 = NULL; unsigned char ntlmbuf[NTLM_BUFSIZE]; CURLcode res; -- cgit v1.2.3