fix compiler warning: local variable may be used without having been initialized

This commit is contained in:
Yang Tse 2008-04-07 14:20:05 +00:00
parent a08b6ae813
commit bf90d11a31
1 changed files with 1 additions and 1 deletions

View File

@ -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)