forked from github/server
eliminate clang warning
This commit is contained in:
parent
c8e09083f6
commit
573077987c
|
@ -35,9 +35,9 @@ static int ltrim(const char **str_p)
|
||||||
|
|
||||||
/* skip over potential whitespace */
|
/* skip over potential whitespace */
|
||||||
while (*str) {
|
while (*str) {
|
||||||
unsigned char uc = *(unsigned char *)str;
|
wc = *(unsigned char *)str;
|
||||||
if (~uc & 0x80) {
|
if (~wc & 0x80) {
|
||||||
if (!TRIMMED(uc)) break;
|
if (!TRIMMED(wc)) break;
|
||||||
++str;
|
++str;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue