]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: pinky: reduce variable scope
authorCollin Funk <collin.funk1@gmail.com>
Tue, 10 Feb 2026 06:30:48 +0000 (22:30 -0800)
committerCollin Funk <collin.funk1@gmail.com>
Tue, 10 Feb 2026 06:30:48 +0000 (22:30 -0800)
commit224b90e60304e1d772577652f4785aa597078677
tree08cd61abd3c544bc73ef429ea9be8b5e944523ea
parent1317074513d301279497c9a4b9978dd8568dd9d7
maint: pinky: reduce variable scope

* src/pinky.c (create_fullname, idle_string, print_entry)
(print_long_entry, main): Declare variables where they are used instead
of at the start of the function. Initialize variables where they are
declared.
src/pinky.c