aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-12-10 11:57:11 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-12-10 11:57:11 +0000
commit0da4524a2204931df0862b42fcab31bdb63674a9 (patch)
tree0a4cb7d237e7366a0269b3acf0dab9265798847e /lib/url.c
parent664b9baf67c2c22ebaf3606298ca9c4ce0b382d2 (diff)
url.c: Fixed compilation warning when USE_NTLM is not defined
url.c:3078: warning: variable 'credentialsMatch' set but not used
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index dd3118d3e..d191678ca 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 ||