diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-09-23 01:44:36 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-09-23 01:45:34 +0200 |
commit | f8440af5febb18ddfd2bc7a94b771284f0b7b310 (patch) | |
tree | 83172e88ffe4251d3fe7765a1f5874e1a5135f1a /src/install.c | |
parent | 8ea913b2eaadbd92e069ea6b71cc5f5df409decf (diff) |
coverity: change a few things so that coverity doesn't show so many false positives
Diffstat (limited to 'src/install.c')
-rw-r--r-- | src/install.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c index 53dd26fd7f..cfbd50ead9 100644 --- a/src/install.c +++ b/src/install.c @@ -1904,7 +1904,7 @@ int unit_file_get_list( } else if (r > 0) { f->state = UNIT_FILE_DISABLED; goto found; - } else if (r == 0) { + } else { f->state = UNIT_FILE_STATIC; goto found; } |