summaryrefslogtreecommitdiff
path: root/lib/http_ntlm.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-08-14 16:36:47 +0200
committerYang Tse <yangsita@gmail.com>2011-08-14 16:36:47 +0200
commitdc4f9d185da188f7b46cc6fadd86a24c333a9be8 (patch)
treed67a5b2cfc6c99d07e275d533c8c2a064059801f /lib/http_ntlm.c
parent98fb0ef73ef212271895e87b8bd9a2d5b2baf6b6 (diff)
downloadcurl-dc4f9d185da188f7b46cc6fadd86a24c333a9be8.tar.gz
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'.
Diffstat (limited to 'lib/http_ntlm.c')
-rw-r--r--lib/http_ntlm.c2
1 files changed, 1 insertions, 1 deletions
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;