From: William Lallemand Date: Mon, 3 Aug 2026 12:33:06 +0000 (+0000) Subject: BUG/MINOR: ech: fix label at end of compound statement X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcc1b7f9b61187f79af7940d0f5954586122c44d;p=thirdparty%2Fhaproxy.git BUG/MINOR: ech: fix label at end of compound statement The "ignore_entry" label used to skip non ".ech" directory entries in load_echkeys() was placed right before the closing brace of the "for" loop, with no statement attached to it. A label with no following statement is only valid since C23, so strict compilers reject it: src/ech.c:96:2: error: label at end of compound statement is a C23 extension [-Werror,-Wc23-extensions] Add a null statement after the label. --- diff --git a/src/ech.c b/src/ech.c index fdc14ccc6..71adf9256 100644 --- a/src/ech.c +++ b/src/ech.c @@ -94,6 +94,7 @@ failed: goto end; } ignore_entry: + ; } if (somekeyworked == 0) {