Commit ffdccb6
committed
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.1 parent 7232677 commit ffdccb6
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3591 | 3591 | | |
3592 | 3592 | | |
3593 | 3593 | | |
| 3594 | + | |
3594 | 3595 | | |
3595 | 3596 | | |
3596 | 3597 | | |
| |||
3626 | 3627 | | |
3627 | 3628 | | |
3628 | 3629 | | |
3629 | | - | |
3630 | | - | |
| 3630 | + | |
| 3631 | + | |
3631 | 3632 | | |
3632 | 3633 | | |
3633 | 3634 | | |
| |||
0 commit comments