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 */
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue