Remove redundant else

This commit is contained in:
Victor Zverovich
2025-08-17 10:03:01 -07:00
parent 9588458917
commit 5b99b334f0

View File

@@ -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));