eliminate clang warning

This commit is contained in:
Enno Rehling 2021-06-01 19:56:15 +02:00
parent c8e09083f6
commit 573077987c
1 changed files with 3 additions and 3 deletions

View File

@ -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 {