Fix warning
This commit is contained in:
parent
ae5cf58878
commit
6863f7b24c
@ -805,7 +805,6 @@ private:
|
|||||||
const char* p = is.src_;
|
const char* p = is.src_;
|
||||||
|
|
||||||
// Scan one by one until alignment (unaligned load may cross page boundary and cause crash)
|
// Scan one by one until alignment (unaligned load may cross page boundary and cause crash)
|
||||||
const char* start = p;
|
|
||||||
const char* nextAligned = reinterpret_cast<const char*>((reinterpret_cast<size_t>(p) + 15) & static_cast<size_t>(~15));
|
const char* nextAligned = reinterpret_cast<const char*>((reinterpret_cast<size_t>(p) + 15) & static_cast<size_t>(~15));
|
||||||
while (p != nextAligned)
|
while (p != nextAligned)
|
||||||
if (RAPIDJSON_UNLIKELY(*p == '\"') || RAPIDJSON_UNLIKELY(*p == '\\') || RAPIDJSON_UNLIKELY(*p < 0x20)) {
|
if (RAPIDJSON_UNLIKELY(*p == '\"') || RAPIDJSON_UNLIKELY(*p == '\\') || RAPIDJSON_UNLIKELY(*p < 0x20)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user