mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove UNREACHABLE
This commit is contained in:
parent
97b4fe2ff6
commit
4275f09015
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue