From 0da4524a2204931df0862b42fcab31bdb63674a9 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 10 Dec 2014 11:57:11 +0000 Subject: [PATCH] url.c: Fixed compilation warning when USE_NTLM is not defined url.c:3078: warning: variable 'credentialsMatch' set but not used --- lib/url.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/url.c b/lib/url.c index dd3118d3e2cd96..d191678ca0565d 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 ||