From 362b27d24cd7bf9094b9b25ef4d55ba592ff2af7 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Mon, 5 Aug 2024 19:42:45 +0100 Subject: [PATCH] Compiler quietening. Bug 3107 --- src/src/tls-gnu.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/src/tls-gnu.c b/src/src/tls-gnu.c index 25690aed2..2d6cdb351 100644 --- a/src/src/tls-gnu.c +++ b/src/src/tls-gnu.c @@ -2314,8 +2314,9 @@ old_pool = store_pool; if (*s) s++; /* now on _ between groups */ while ((c = *s)) { - for (*++s && ++s; (c = *s) && c != ')'; s++) - g = string_catn(g, c == '-' ? US"_" : s, 1); + if (*++s) + for (++s; (c = *s) && c != ')'; s++) + g = string_catn(g, c == '-' ? US"_" : s, 1); /* now on ) closing group */ if ((c = *s) && *++s == '-') g = string_catn(g, US"__", 2); /* now on _ between groups */ -- 2.30.2