From: Steve Holme Date: Wed, 10 Dec 2014 11:57:11 +0000 (+0000) Subject: url.c: Fixed compilation warning when USE_NTLM is not defined X-Git-Tag: curl-7_40_0~180 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0da4524a2204931df0862b42fcab31bdb63674a9;p=thirdparty%2Fcurl.git url.c: Fixed compilation warning when USE_NTLM is not defined url.c:3078: warning: variable 'credentialsMatch' set but not used --- diff --git a/lib/url.c b/lib/url.c index dd3118d3e2..d191678ca0 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3075,7 +3075,9 @@ ConnectionExists(struct SessionHandle *data, curr = bundle->conn_list->head; while(curr) { bool match = FALSE; +#if defined(USE_NTLM) bool credentialsMatch = FALSE; +#endif size_t pipeLen; /* @@ -3189,7 +3191,9 @@ ConnectionExists(struct SessionHandle *data, /* one of them was different */ continue; } +#if defined(USE_NTLM) credentialsMatch = TRUE; +#endif } if(!needle->bits.httpproxy || needle->handler->flags&PROTOPT_SSL ||