mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
Curl_resolv: fix a gcc -Werror=maybe-uninitialized warning
Closes #3562
This commit is contained in:
parent
61496154ce
commit
aa1f1d48f3
@ -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…
x
Reference in New Issue
Block a user