зеркало из https://github.com/github/ruby.git
* enc/windows_1253.c: Remove dead code found by Coverity Scan.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
01fb7e5b71
Коммит
55378a9eb6
|
@ -1,3 +1,7 @@
|
|||
Wed Jul 27 10:32:59 2016 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* enc/windows_1253.c: Remove dead code found by Coverity Scan.
|
||||
|
||||
Tue Jul 26 22:43:36 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* gc.c (run_finalizer): make saved running finalizer state
|
||||
|
|
|
@ -253,9 +253,7 @@ case_map (OnigCaseFoldType* flagP, const OnigUChar** pp,
|
|||
else if ((EncCP1253_CtypeTable[code] & BIT_CTYPE_LOWER)
|
||||
&& (flags&ONIGENC_CASE_UPCASE)) {
|
||||
flags |= ONIGENC_CASE_MODIFIED;
|
||||
if (code==0xB5)
|
||||
code = 0xCC;
|
||||
else if (code==0xDC)
|
||||
if (code==0xDC)
|
||||
code = 0xA2;
|
||||
else if (code>=0xDD && code<=0xDF)
|
||||
code -= 0x25;
|
||||
|
|
Загрузка…
Ссылка в новой задаче