From a0119d59823850f26089eb7797a2709401957e3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?=
Date: Wed, 14 Jan 2026 11:38:59 +0000 Subject: [PATCH] build: paste: fix build failure with C99 GCC 10.2 gave the following error: "error: a label can only be part of a statement and a declaration is not a statement" * src/fold.c (fold_file): Add a ";" to avoid C2X specific syntax. --- src/paste.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paste.c b/src/paste.c index 01ed596e2..5309f0e37 100644 --- a/src/paste.c +++ b/src/paste.c @@ -138,7 +138,7 @@ collapse_escapes (char const *strptr) continue; } - copy_character: + copy_character:; mcel_t g = mcel_scanz (s); strout = mempcpy (strout, s, g.len); s += g.len;