From 568f4e48cb84303af8747b297214e5b54bd96e86 Mon Sep 17 00:00:00 2001 From: Quinn Date: Thu, 22 Jan 2026 15:43:52 +0100 Subject: [PATCH] fix: use `&&` instead of `&` This is to silence the sparse `warning: dubious usage of x & !y`. The difference is insignificant and I am not going to argue sparse here. --- src/io/conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/conf.c b/src/io/conf.c index 517fe03..8a9515c 100644 --- a/src/io/conf.c +++ b/src/io/conf.c @@ -17,7 +17,7 @@ static const char *strmat(const char *s1, const char *s2) PURE NONNULL((1, 2)); static const char *strmat(const char *s1, const char *s2) { - while ((*s1 == *s2) & !!*s1) + while ((*s1 == *s2) && *s1) s1++, s2++; return s1; }