Fix: macro compares unsigned to 0 (no effect)
[lttng-tools.git] / src / common / compat / compat-epoll.c
index 614f166fff0123d983237aa9d865ab639fae7660..cf9f771021d96b8545d526292a8db42da9adaa64 100644 (file)
@@ -209,7 +209,6 @@ int compat_epoll_wait(struct lttng_poll_event *events, int timeout)
                ERR("Wrong arguments in compat_epoll_wait");
                goto error;
        }
-       assert(events->nb_fd >= 0);
 
        if (events->nb_fd == 0) {
                errno = EINVAL;
This page took 0.02367 seconds and 4 git commands to generate.