Skip to content

Commit 5730779

Browse files
committed
eliminate clang warning
1 parent c8e0908 commit 5730779

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/util/parser.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ static int ltrim(const char **str_p)
3535

3636
/* skip over potential whitespace */
3737
while (*str) {
38-
unsigned char uc = *(unsigned char *)str;
39-
if (~uc & 0x80) {
40-
if (!TRIMMED(uc)) break;
38+
wc = *(unsigned char *)str;
39+
if (~wc & 0x80) {
40+
if (!TRIMMED(wc)) break;
4141
++str;
4242
}
4343
else {

0 commit comments

Comments
 (0)