pid1: remove unnecessary error reassignment

LGTM was complaining:
> Comparison is always true because r >= 0.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-10-02 12:35:37 +02:00
parent 459500a32c
commit 7c3733d5de
1 changed files with 1 additions and 3 deletions

View File

@ -3459,9 +3459,7 @@ int manager_reload(Manager *m) {
m->uid_refs = hashmap_free(m->uid_refs);
m->gid_refs = hashmap_free(m->gid_refs);
q = lookup_paths_init(&m->lookup_paths, m->unit_file_scope, 0, NULL);
if (q < 0 && r >= 0)
r = q;
r = lookup_paths_init(&m->lookup_paths, m->unit_file_scope, 0, NULL);
q = manager_run_environment_generators(m);
if (q < 0 && r >= 0)