From 78ab4d1f7deffd1124a0625fd3a2c815e9e39103 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 14 Apr 2026 15:41:21 +0200 Subject: [PATCH] parse-helpers: Silence coverity warning --- src/shared/parse-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/parse-helpers.c b/src/shared/parse-helpers.c index 4e524bef37..da4b9fd25a 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;