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.
(cherry picked from commit c9c475e40d9104cc12ebc9320cb768bb4794766d)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 44ad6cb8dc6d4548cfdc24edcb491e4e2986ba33)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/src/ev_select.c b/src/ev_select.c
index dab932b..378d1e4 100644
--- a/src/ev_select.c
+++ b/src/ev_select.c
@@ -237,7 +237,6 @@
*/
REGPRM1 static int _do_init(struct poller *p)
{
- __label__ fail_swevt, fail_srevt, fail_revt;
int fd_set_bytes;
p->private = NULL;