From: Collin Funk Date: Sat, 28 Mar 2026 19:48:38 +0000 (-0700) Subject: maint: remove unnecessary return statements X-Git-Tag: v9.11~143 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=753fa26918d1c9aa4da5075676c3700316b26ea3;p=thirdparty%2Fcoreutils.git maint: remove unnecessary return statements * src/env.c (initialize_signals): Remove return at the end of the function. * src/who.c (print_runlevel): Likewise. --- diff --git a/src/env.c b/src/env.c index d5acab7bda..d0c196782d 100644 --- a/src/env.c +++ b/src/env.c @@ -756,8 +756,6 @@ initialize_signals (void) for (int i = 0 ; i <= SIGNUM_BOUND; i++) signals[i] = UNCHANGED; - - return; } int diff --git a/src/who.c b/src/who.c index b12a31442a..5b35b8bd7b 100644 --- a/src/who.c +++ b/src/who.c @@ -515,8 +515,6 @@ print_runlevel (STRUCT_UTMP const *utmp_ent) print_line ("", ' ', runlevline, time_string (utmp_ent), "", "", c_isprint (last) ? comment : "", ""); - - return; } /* Print the username of each valid entry and the number of valid entries