summaryrefslogtreecommitdiff
path: root/enc
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2019-06-24 15:56:18 +0900
committerNARUSE, Yui <naruse@airemix.jp>2019-06-24 16:01:46 +0900
commit4275f09015295a3f58dbe0aedede0d039f262499 (patch)
tree8b572d72225e64f95d770cf189b2490b5eda1fc7 /enc
parent97b4fe2ff6bffe8728952236f2027aa6242f8f40 (diff)
remove UNREACHABLE
Diffstat (limited to 'enc')
-rw-r--r--enc/cesu_8.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/enc/cesu_8.c b/enc/cesu_8.c
index b34b0fb..decbb92 100644
--- a/enc/cesu_8.c
+++ b/enc/cesu_8.c
@@ -302,8 +302,6 @@ mbc_to_code(const UChar* p, const UChar* end, OnigEncoding enc)
int low = ((p[3] & 0xF) << 12) | ((p[4] & 0x3f) << 6) | (p[5] & 0x3f);
return ((high & 0x03ff) << 10) + (low & 0x03ff) + 0x10000;
}
- default:
- UNREACHABLE;
}
#ifdef USE_INVALID_CODE_SCHEME
if (*p > 0xfd) {