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:
@@ -3075,7 +3075,9 @@ ConnectionExists(struct SessionHandle *data,
|
|||||||
curr = bundle->conn_list->head;
|
curr = bundle->conn_list->head;
|
||||||
while(curr) {
|
while(curr) {
|
||||||
bool match = FALSE;
|
bool match = FALSE;
|
||||||
|
#if defined(USE_NTLM)
|
||||||
bool credentialsMatch = FALSE;
|
bool credentialsMatch = FALSE;
|
||||||
|
#endif
|
||||||
size_t pipeLen;
|
size_t pipeLen;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -3189,7 +3191,9 @@ ConnectionExists(struct SessionHandle *data,
|
|||||||
/* one of them was different */
|
/* one of them was different */
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
#if defined(USE_NTLM)
|
||||||
credentialsMatch = TRUE;
|
credentialsMatch = TRUE;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!needle->bits.httpproxy || needle->handler->flags&PROTOPT_SSL ||
|
if(!needle->bits.httpproxy || needle->handler->flags&PROTOPT_SSL ||
|
||||||
|
|||||||
Reference in New Issue
Block a user