]> git.ipfire.org Git - thirdparty/systemd.git/commit
sulogin-shell: simplify returns from a function
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Dec 2017 09:51:03 +0000 (10:51 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 7 Dec 2017 11:34:12 +0000 (12:34 +0100)
commitcccb78f09363140d873e8d26355593e22d0cfcea
tree3756c0d8d47e8e44789e96c203988050e78bb86d
parente821f6a916c19f148435038be21faeb49beac68c
sulogin-shell: simplify returns from a function

This is actually slightly safer because it allows gcc to make sure that all code
paths either call return or are noreturn. But the real motivation is just to
follow the usual style and make it a bit shorter.
src/sulogin-shell/sulogin-shell.c