mirror of
https://github.com/systemd/systemd.git
synced 2025-02-10 17:57:40 +03:00
systemctl: remove dead check
r could never be less than zero. CID #1271350.
This commit is contained in:
parent
d4ad27a104
commit
2558691285
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user