mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 02:40:24 +08:00
minilibc: no double braces in if statement
This commit is contained in:
parent
a95370aa56
commit
5ad58a59a4
@ -146,10 +146,10 @@ int strncasecmp ( const char* s1, const char* s2, size_t len )
|
||||
x1 = *s1 - 'A'; if ((x1 < 26u)) x1 += 32;
|
||||
s1++; s2++;
|
||||
|
||||
if ((x2 != x1))
|
||||
if (x2 != x1)
|
||||
break;
|
||||
|
||||
if ((x1 == (unsigned int)-'A'))
|
||||
if (x1 == (unsigned int)-'A')
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user