From 1582093c776af309314c4cf1598e81af46bf2117 Mon Sep 17 00:00:00 2001 From: duerst Date: Mon, 28 Mar 2016 05:26:23 +0000 Subject: [PATCH] * enc/unicode.c: Removed code now covered by data from table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ enc/unicode.c | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index e79fe6000f..5ccef6a05e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 28 14:26:24 2016 Martin Duerst + + * enc/unicode.c: Removed code now covered by data from table. + Mon Mar 28 11:49:21 2016 Martin Duerst * enc/unicode.c: Adding comments. [ci skip] diff --git a/enc/unicode.c b/enc/unicode.c index a7483468f9..0e5d29b913 100644 --- a/enc/unicode.c +++ b/enc/unicode.c @@ -704,12 +704,6 @@ onigenc_unicode_case_map(OnigCaseFoldType* flagP, } } } - /* the following special case for DOTLESS i -> I - * can be removed once we rely on data, - * because the mapping is always the same */ - else if (code==DOTLESS_i && (flags&ONIGENC_CASE_UPCASE)) { - code = 'I'; MODIFIED; - } else if ((folded = onigenc_unicode_fold_lookup(code)) != 0) { /* data about character found in CaseFold_11_Table */ if (flags&OnigCaseFoldFlags(folded->n)) { const OnigCodePoint *next;