mirror of
https://github.com/moparisthebest/curl
synced 2025-03-01 01:41:50 -05:00
fix compiler warning: local variable may be used without having been initialized
This commit is contained in:
parent
a08b6ae813
commit
bf90d11a31
@ -159,7 +159,7 @@ static void host_callback(void *arg, int status, int timeouts,
|
|||||||
{
|
{
|
||||||
struct host_query *hquery = (struct host_query *) arg;
|
struct host_query *hquery = (struct host_query *) arg;
|
||||||
ares_channel channel = hquery->channel;
|
ares_channel channel = hquery->channel;
|
||||||
struct hostent *host;
|
struct hostent *host = NULL;
|
||||||
|
|
||||||
hquery->timeouts += timeouts;
|
hquery->timeouts += timeouts;
|
||||||
if (status == ARES_SUCCESS)
|
if (status == ARES_SUCCESS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user