From: Daan De Meyer Date: Tue, 14 Apr 2026 13:41:21 +0000 (+0200) Subject: parse-helpers: Silence coverity warning X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78ab4d1f7deffd1124a0625fd3a2c815e9e39103;p=thirdparty%2Fsystemd.git parse-helpers: Silence coverity warning --- diff --git a/src/shared/parse-helpers.c b/src/shared/parse-helpers.c index 4e524bef37e..da4b9fd25a3 100644 --- a/src/shared/parse-helpers.c +++ b/src/shared/parse-helpers.c @@ -135,7 +135,7 @@ int parse_address_families(const char *rvalue, Set **families, bool *is_allowlis /* If we previously wanted to forbid an address family and now we want to allow it, then * just remove it from the list. */ - if (!invert == *is_allowlist) { + if (invert != *is_allowlist) { r = set_put(*families, INT_TO_PTR(af)); if (r < 0) return r;