From aec4f85476452310463b17c63d2ec3d2ac3d02aa Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Wed, 27 Aug 2025 11:48:13 +0100 Subject: [PATCH] build: fold: fix build failure with C99 GCC 10.2 gave the following error: "error: label at end of compound statement" * src/fold.c (fold_file): Add a ";" to avoid C2X specific syntax. --- src/fold.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fold.c b/src/fold.c index 208b004d62..343ee62c30 100644 --- a/src/fold.c +++ b/src/fold.c @@ -260,7 +260,8 @@ fold_file (char const *filename, size_t width) break; /* We read a full buffer of complete characters. */ offset_in = 0; - next_line: + + next_line:; } saved_errno = errno; -- 2.47.3