Skip to content

Commit

Permalink
url.c: Fixed compilation warning when USE_NTLM is not defined
Browse files Browse the repository at this point in the history
url.c:3078: warning: variable 'credentialsMatch' set but not used
  • Loading branch information
captain-caveman2k committed Dec 10, 2014
1 parent 664b9ba commit 0da4524
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/url.c
Expand Up @@ -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;

/*
Expand Down Expand Up @@ -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 ||
Expand Down

0 comments on commit 0da4524

Please sign in to comment.