Fix: macro compares unsigned to 0 (no effect)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 17 May 2016 13:01:51 +0000 (09:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 19:14:57 +0000 (15:14 -0400)
commit333a5eb0a82b98604c1d26ef7e0b9ee6f8c29162
tree0466d3bd5f3b675f40527269b28e27b77e6a1ba0
parent6bd1b5e05d9943287994cfe38767934e00e56f07
Fix: macro compares unsigned to 0 (no effect)

Found by Coverity:

CID 1262117 (#1 of 1): Macro compares unsigned to 0
(NO_EFFECT)unsigned_compare: This greater-than-or-equal-to-zero
comparison of an unsigned value is always true. events->nb_fd >= 0U.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/compat-epoll.c
This page took 0.027144 seconds and 4 git commands to generate.