diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-04-19 12:13:23 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-19 12:13:23 +0200 |
commit | 5d13a15b1d0bd7d218100d204a84eaaaaeab932f (patch) | |
tree | 08d1ba916131ac128453713792cd8498b556de3a /src/hostname | |
parent | 6360b8ff8383bb69978e6278298b4a2bef329f25 (diff) | |
download | systemd-5d13a15b1d0bd7d218100d204a84eaaaaeab932f.tar.gz |
tree-wide: drop spurious newlines (#8764)
Double newlines (i.e. one empty lines) are great to structure code. But
let's avoid triple newlines (i.e. two empty lines), quadruple newlines,
quintuple newlines, …, that's just spurious whitespace.
It's an easy way to drop 121 lines of code, and keeps the coding style
of our sources a bit tigther.
Diffstat (limited to 'src/hostname')
-rw-r--r-- | src/hostname/hostnamed.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index f847a7314b..c73390cfdf 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -248,7 +248,6 @@ static char* context_fallback_icon_name(Context *c) { return strdup("computer"); } - static bool hostname_is_useful(const char *hn) { return !isempty(hn) && !is_localhost(hn); } |