url.c: Fixed compilation warning when USE_NTLM is not defined

url.c:3078: warning: variable 'credentialsMatch' set but not used
This commit is contained in:
Steve Holme 2014-12-10 11:57:11 +00:00
parent 664b9baf67
commit 0da4524a22
1 changed files with 4 additions and 0 deletions

View File

@ -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 ||