Commit 0da4524a authored by Steve Holme's avatar Steve Holme
Browse files

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

url.c:3078: warning: variable 'credentialsMatch' set but not used
parent 664b9baf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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 ||