systemctl: remove dead check

r could never be less than zero.

CID #1271350.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2015-03-07 15:00:22 -05:00
parent d4ad27a104
commit 2558691285
1 changed files with 2 additions and 2 deletions

View File

@ -4547,7 +4547,7 @@ static int cat(sd_bus *bus, char **args) {
_cleanup_strv_free_ char **names = NULL;
char **name;
bool first = true, avoid_bus_cache;
int r = 0;
int r;
assert(args);
@ -4597,7 +4597,7 @@ static int cat(sd_bus *bus, char **args) {
}
}
return r < 0 ? r : 0;
return 0;
}
static int set_property(sd_bus *bus, char **args) {