From 573077987c0fa5b38d4c2bb9526c9a67aebe15ed Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 1 Jun 2021 19:56:15 +0200 Subject: [PATCH] eliminate clang warning --- src/util/parser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/parser.c b/src/util/parser.c index 87fb60240..794c1b856 100644 --- a/src/util/parser.c +++ b/src/util/parser.c @@ -35,9 +35,9 @@ static int ltrim(const char **str_p) /* skip over potential whitespace */ while (*str) { - unsigned char uc = *(unsigned char *)str; - if (~uc & 0x80) { - if (!TRIMMED(uc)) break; + wc = *(unsigned char *)str; + if (~wc & 0x80) { + if (!TRIMMED(wc)) break; ++str; } else {