Skip to content

Commit

Permalink
eliminate clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Jun 5, 2021
1 parent 7f1f159 commit 3dfa0c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3dfa0c4

Please sign in to comment.