Merge pull request #13092 from keszybz/coverity-fixes

Coverity fixes
This commit is contained in:
Lennart Poettering
2019-07-17 14:18:49 +02:00
committed by GitHub
12 changed files with 96 additions and 89 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ static void wait_for_item_check_ready(WaitForItem *item) {
BusWaitForUnits *d;
assert(item);
assert(d = item->parent);
assert_se(d = item->parent);
if (FLAGS_SET(item->flags, BUS_WAIT_FOR_MAINTENANCE_END)) {
+1 -1
View File
@@ -758,7 +758,7 @@ int config_parse_strv(
for (;;) {
char *word = NULL;
r = extract_first_word(&rvalue, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_RETAIN_ESCAPE);
r = extract_first_word(&rvalue, &word, NULL, EXTRACT_UNQUOTE);
if (r == 0)
break;
if (r == -ENOMEM)