Skip to content

Commit ec0793e

Browse files
committed
euc_jp.c: fix compile error
* enc/euc_jp.c (mbc_case_fold): no longer use get_lower_case result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 3dced30 commit ec0793e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

enc/euc_jp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ mbc_case_fold(OnigCaseFoldType flag,
382382

383383
len = mbc_enc_len(p, end, enc);
384384
if (len <= 0) return 1;
385-
code = get_lower_case(mbc_to_code(p, end, enc));
385+
get_lower_case(mbc_to_code(p, end, enc));
386386
/* assuming case folding in euc-jp doesn't change length */
387387
(*pp) += len;
388388
return len; /* return byte length of converted char to lower */

0 commit comments

Comments
 (0)