mirror of
https://github.com/fmtlib/fmt.git
synced 2025-09-28 15:40:54 +02:00
Remove redundant else
This commit is contained in:
@@ -1345,9 +1345,8 @@ template <typename WChar, typename Buffer = memory_buffer> class to_utf8 {
|
||||
buf.append(string_view("\xEF\xBF\xBD"));
|
||||
--p;
|
||||
continue;
|
||||
} else {
|
||||
c = (c << 10) + static_cast<uint32_t>(*p) - 0x35fdc00;
|
||||
}
|
||||
c = (c << 10) + static_cast<uint32_t>(*p) - 0x35fdc00;
|
||||
}
|
||||
if (c < 0x80) {
|
||||
buf.push_back(static_cast<char>(c));
|
||||
|
Reference in New Issue
Block a user