]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: fold: fix build failure with C99
authorPádraig Brady <P@draigBrady.com>
Wed, 27 Aug 2025 10:48:13 +0000 (11:48 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 27 Aug 2025 10:50:01 +0000 (11:50 +0100)
commitaec4f85476452310463b17c63d2ec3d2ac3d02aa
tree5df8853b369069dc63e3dfee966ab4e3109b9f94
parentae89cd646a7dfd0cf655e8c0d0d56b93288abb71
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