]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: restructure print_buf() if-else with continue
authorSami Kerola <kerolasa@iki.fi>
Wed, 18 Mar 2020 20:13:00 +0000 (20:13 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sat, 28 Mar 2020 07:55:58 +0000 (07:55 +0000)
commitf53edc0ee6ef12588ba3565a935417eccf7ded65
tree39aebc726132a3cda904285be42ca6067501e086
parentf8492042f52198265a5a2423ac63e4e99a05fc0f
more: restructure print_buf() if-else with continue

Replacing long 'else' with 'continue' allows dropping one level of
indentation.  Main aim is to improve code readability by reducing
complexity one needs to keep track while looking the code.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
text-utils/more.c