mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 06:11:32 +02:00
BUILD: select: only declare existing local labels to appease clang
Commit 42a50bd19 ("BUG/MINOR: pollers: remove uneeded free in global init") removed the 'fail_revt' label from the _do_init() function in src/ev_select.c but left the local label declaration, which makes clang unhappy and unable to build. These labels are only historic and unneeded anyway so let's remove them. This should be backported where 42a50bd19 is backported.
This commit is contained in:
parent
d645574fd4
commit
c9c475e40d
@ -253,7 +253,6 @@ static void deinit_select_per_thread()
|
|||||||
*/
|
*/
|
||||||
static int _do_init(struct poller *p)
|
static int _do_init(struct poller *p)
|
||||||
{
|
{
|
||||||
__label__ fail_swevt, fail_srevt, fail_revt;
|
|
||||||
int fd_set_bytes;
|
int fd_set_bytes;
|
||||||
|
|
||||||
p->private = NULL;
|
p->private = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user