mirror of
https://github.com/curl/curl.git
synced 2026-05-30 05:17:30 +03:00
Curl_resolv: fix a gcc -Werror=maybe-uninitialized warning
Closes #3562
This commit is contained in:
parent
61496154ce
commit
aa1f1d48f3
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ int Curl_resolv(struct connectdata *conn,
|
|||
/* The entry was not in the cache. Resolve it to IP address */
|
||||
|
||||
Curl_addrinfo *addr;
|
||||
int respwait;
|
||||
int respwait = 0;
|
||||
|
||||
/* Check what IP specifics the app has requested and if we can provide it.
|
||||
* If not, bail out. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue