summaryrefslogtreecommitdiff
path: root/enc/windows_1253.c
diff options
context:
space:
mode:
authorduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-27 01:33:01 +0000
committerduerst <duerst@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-27 01:33:01 +0000
commit55378a9eb60b2ae4bfb9051f28f5264d8043008d (patch)
tree0f8bc12a24eaa324bcc7654dcc92bbc07c189956 /enc/windows_1253.c
parent01fb7e5b71db72522ba26fde0c2f7fd2d194077f (diff)
* 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
Diffstat (limited to 'enc/windows_1253.c')
-rw-r--r--enc/windows_1253.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/enc/windows_1253.c b/enc/windows_1253.c
index 9be5943..2157b55 100644
--- a/enc/windows_1253.c
+++ b/enc/windows_1253.c
@@ -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;