Commit bf90d11a authored by Yang Tse's avatar Yang Tse
Browse files

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

parent a08b6ae8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)