mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
01fb7e5b71
commit
55378a9eb6
2 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue