commit | 15ed69fd3fa6c81972b72a4070608f934ef7672e | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Mar 14 10:58:35 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Mar 14 10:58:35 2020 +0100 |
tree | bbd12b115efda0baa9cd2bb252b5b0ababcdfd8e | |
parent | f4016683067b6ec31e294dbf0f6c1489baff8bd7 [diff] |
MINOR: debug: consume the write() result in BUG_ON() to silence a warning Tim reported that BUG_ON() issues warnings on his distro, as the libc marks some syscalls with __attribute__((warn_unused_result)). Let's pass the write() result through DISGUISE() to hide it.