]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: avoid a new -Werror=return-type warning in yes.c
authorPádraig Brady <P@draigBrady.com>
Tue, 28 Apr 2015 22:07:13 +0000 (23:07 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 28 Apr 2015 22:07:13 +0000 (23:07 +0100)
commitbdf6837655730c09a42cfd0a23c984e1410370f5
tree09f756cc3748b58803e1367439b8907fe6943ca0
parent09152f2d75d42c4c840d2e5cf25dcb2d7133055b
maint: avoid a new -Werror=return-type warning in yes.c

* src/yes.c (main): Simplify the logic so that the
compiler can see this function always returns a value.
This was seen with GCC 5.0 in SINGLE_BINARY mode.
src/yes.c