diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-04 06:56:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-04 06:56:58 +0000 |
commit | ec0793e437e4ea9f6a49d72ed08f039f3e59ff9a (patch) | |
tree | adb9bd0d0f491de563b2eb69d7ccdb1c7cc925b5 | |
parent | 3dced3087f13f1f8628f5f2ae2ba7e8d2876a209 (diff) | |
download | ruby-ec0793e437e4ea9f6a49d72ed08f039f3e59ff9a.tar.gz |
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
-rw-r--r-- | enc/euc_jp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/euc_jp.c b/enc/euc_jp.c index 3088dfd64b..4121750b8d 100644 --- a/enc/euc_jp.c +++ b/enc/euc_jp.c @@ -382,7 +382,7 @@ mbc_case_fold(OnigCaseFoldType flag, len = mbc_enc_len(p, end, enc); if (len <= 0) return 1; - code = get_lower_case(mbc_to_code(p, end, enc)); + get_lower_case(mbc_to_code(p, end, enc)); /* assuming case folding in euc-jp doesn't change length */ (*pp) += len; return len; /* return byte length of converted char to lower */ |