diff options
| author | Steve Holme <steve_holme@hotmail.com> | 2014-12-10 11:57:11 +0000 | 
|---|---|---|
| committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-10 11:57:11 +0000 | 
| commit | 0da4524a2204931df0862b42fcab31bdb63674a9 (patch) | |
| tree | 0a4cb7d237e7366a0269b3acf0dab9265798847e /lib | |
| parent | 664b9baf67c2c22ebaf3606298ca9c4ce0b382d2 (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')
| -rw-r--r-- | lib/url.c | 4 | 
1 files changed, 4 insertions, 0 deletions
@@ -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 ||  | 
