]> git.ipfire.org Git - thirdparty/util-linux.git/commit
logger: refactor long if clause
authorSami Kerola <kerolasa@iki.fi>
Sun, 22 Jun 2014 22:43:09 +0000 (23:43 +0100)
committerSami Kerola <kerolasa@iki.fi>
Mon, 28 Jul 2014 20:15:17 +0000 (21:15 +0100)
commitc462a8caf2b885df4a8e769d9056d8f63b82f6be
tree1cd841cf595700dafb267b213e94716ce73895d8
parent019b97024fde3f07eaf541eef990762483369a11
logger: refactor long if clause

When if clause that continues throughout whole function it usually can be
shorten to immediate action, e.g., in this case return on the spot not at
end of the function.

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