1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Curl_resolv: fix a gcc -Werror=maybe-uninitialized warning

Closes #3562
This commit is contained in:
Romain Geissler 2019-02-12 17:43:55 +00:00 committed by Daniel Stenberg
parent 61496154ce
commit aa1f1d48f3
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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. */