commit | f7ebe584d790872f029566be588fee17f5a2168e | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Jul 19 11:53:46 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Jul 19 12:11:04 2022 +0200 |
tree | 9ef5b711b1f6f45de8cb416c24735f80837f4c73 | |
parent | 0933c7b3c8d4c50303ef03ee7858b47ccac46477 [diff] |
BUILD: debug: Add braces to if statement calling only CHECK_IF() In src/ev_epoll.c, a CHECK_IF() is guarded by an if statement. So, when the macro is empty, GCC (at least 11.3.1) is not happy because there is an if statement with an empty body without braces... It is handled by "-Wempty-body" option. So, braces are added and GCC is now happy. No backport needed.