From: Jerome Magnin Date: Wed, 13 May 2020 13:11:02 +0000 (+0200) Subject: BUILD: select: only declare existing local labels to appease clang X-Git-Tag: v2.2-dev8~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c9c475e40d9104cc12ebc9320cb768bb4794766d;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/ev_select.c b/src/ev_select.c index d02669f0f6..c4ab023e97 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;