parse-helpers: Silence coverity warning

This commit is contained in:
Daan De Meyer
2026-04-14 15:51:02 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 03ee08d1d7
commit 78ab4d1f7d
+1 -1
View File
@@ -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;