[LINT] Fixed lint issues after clang-format update
This commit is contained in:
@@ -960,8 +960,7 @@ const uint32_t error_table_0xC0980001[] = {
|
||||
0x00000037, // 0xC0980008
|
||||
};
|
||||
|
||||
#define MAKE_ENTRY(x) \
|
||||
{ x, xe::countof(error_table_##x), error_table_##x }
|
||||
#define MAKE_ENTRY(x) {x, xe::countof(error_table_##x), error_table_##x}
|
||||
const error_lookup_table error_tables[] = {
|
||||
MAKE_ENTRY(0x00000103), MAKE_ENTRY(0x40000002), MAKE_ENTRY(0x40020056),
|
||||
MAKE_ENTRY(0x400200AF), MAKE_ENTRY(0x80000001), MAKE_ENTRY(0x80000288),
|
||||
|
||||
@@ -151,15 +151,13 @@ static int RtlCompareStringN_impl(uint8_t* string_1, unsigned int string_1_len,
|
||||
int case_insensitive) {
|
||||
if (string_1_len == 0xFFFFFFFF) {
|
||||
uint8_t* string1_strlen_iter = string_1;
|
||||
while (*string1_strlen_iter++)
|
||||
;
|
||||
while (*string1_strlen_iter++);
|
||||
string_1_len =
|
||||
static_cast<unsigned int>(string1_strlen_iter - string_1 - 1);
|
||||
}
|
||||
if (string_2_len == 0xFFFFFFFF) {
|
||||
uint8_t* string2_strlen_iter = string_2;
|
||||
while (*string2_strlen_iter++)
|
||||
;
|
||||
while (*string2_strlen_iter++);
|
||||
string_2_len =
|
||||
static_cast<unsigned int>(string2_strlen_iter - string_2 - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user