silence clang static analyzer

pull/732/head
Brad House 8 months ago
parent 10b263d5c9
commit b692328336
  1. 2
      src/lib/ares_event_poll.c

@ -99,7 +99,7 @@ static size_t ares_evsys_poll_wait(ares_event_thread_t *e,
goto done;
}
for (i = 0; i < num_fds; i++) {
for (i = 0; pollfd != NULL && i < num_fds; i++) {
ares_event_t *ev;
ares_event_flags_t flags = 0;

Loading…
Cancel
Save