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;
|
||||
ares_channel channel = hquery->channel;
|
||||
struct hostent *host;
|
||||
struct hostent *host = NULL;
|
||||
|
||||
hquery->timeouts += timeouts;
|
||||
if (status == ARES_SUCCESS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user