]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: mworker: fix ignoring return value of ‘read’ 20250826-unused_result
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 28 Aug 2025 13:00:19 +0000 (15:00 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 28 Aug 2025 13:10:00 +0000 (15:10 +0200)
commit6816817410c7170b55abaa23f6c10dddb55e2f56
tree64c841baff349f6af04cde2a059dddaffa67af2c
parentd7f6819161c933632bd14bf360373ffaae4306fc
BUILD: mworker: fix ignoring return value of ‘read’

Fix read return value unused result.

src/haproxy.c: In function ‘main’:
src/haproxy.c:3630:17: error: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
 3630 |                 read(sock_pair[1], &c, 1);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~

Must be backported where d7f6819 is backported.
src/haproxy.c