From c9c475e40d9104cc12ebc9320cb768bb4794766d Mon Sep 17 00:00:00 2001 From: Jerome Magnin Date: Wed, 13 May 2020 15:11:02 +0200 Subject: [PATCH] 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. --- src/ev_select.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ev_select.c b/src/ev_select.c index d02669f0f..c4ab023e9 100644 --- a/src/ev_select.c +++ b/src/ev_select.c @@ -253,7 +253,6 @@ static void deinit_select_per_thread() */ static int _do_init(struct poller *p) { - __label__ fail_swevt, fail_srevt, fail_revt; int fd_set_bytes; p->private = NULL;