mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-06 16:57:03 +08:00
Remove redundant else
This commit is contained in:
parent
9588458917
commit
5b99b334f0
@ -1345,9 +1345,8 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
|
|||||||
buf.append(string_view("\xEF\xBF\xBD"));
|
buf.append(string_view("\xEF\xBF\xBD"));
|
||||||
--p;
|
--p;
|
||||||
continue;
|
continue;
|
||||||
} else {
|
|
||||||
c = (c << 10) + static_cast<uint32_t>(*p) - 0x35fdc00;
|
|
||||||
}
|
}
|
||||||
|
c = (c << 10) + static_cast<uint32_t>(*p) - 0x35fdc00;
|
||||||
}
|
}
|
||||||
if (c < 0x80) {
|
if (c < 0x80) {
|
||||||
buf.push_back(static_cast<char>(c));
|
buf.push_back(static_cast<char>(c));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user