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

pull/1/head
Yang Tse 17 years ago
parent 51d5712977
commit c73ff0391f
  1. 2
      ares_gethostbyname.c

@ -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…
Cancel
Save