]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: mworker: fix ignoring return value of ‘read’
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:13:01 +0000 (15:13 +0200)
commitffdccb6e0422723b110992db446c04b673a02981
treef6099851b17852aa71bd4997af4a6672565c1d77
parent7232677385b24c6b51e43e4d97b8c12e154f8758
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