]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: poll: remove unused hap_fd_isset() which causes a warning with clang
authorWilly Tarreau <w@1wt.eu>
Wed, 10 Aug 2016 19:21:57 +0000 (21:21 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 Aug 2016 19:23:48 +0000 (21:23 +0200)
commit091e86e1ee8ec51bd5a3c1935666a822a51b9051
tree29bffc9e298fad6b2a7a7417d378c09fb1f402a5
parente1cc4b52312905adeba5fd6f56b090d8035d160b
BUILD: poll: remove unused hap_fd_isset() which causes a warning with clang

Clang reports that this function is not used :

src/ev_poll.c:34:28: warning: unused function 'hap_fd_isset' [-Wunused-function]
static inline unsigned int hap_fd_isset(int fd, unsigned int *evts)

It's been true since the rework of the pollers in 1.5 and it's unlikely we'll
ever need it anymore, so better remove it now to provide clean builds.

This fix can be backported to 1.6 and 1.5 now.
src/ev_poll.c