1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-17 17:18:45 +02:00

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.
This commit is contained in:
Pádraig Brady
2025-08-27 11:48:13 +01:00
parent ae89cd646a
commit aec4f85476

View File

@@ -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;