summaryrefslogtreecommitdiff
path: root/regparse.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-16 02:44:10 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-16 02:44:10 (GMT)
commit5f63d9e7417cd4113eec7401ef32864c3efe5121 (patch)
tree5b5619d47fab4c8a4edceebc9bc0fa22bef5eeda /regparse.c
parent57a16887438de18f2bfa71b0dba87a4a01f40a35 (diff)
regparse.c: remove unused variable
* regparse.c (add_ctype_to_cc): suppress a warning by removing unused variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regparse.c')
-rw-r--r--regparse.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/regparse.c b/regparse.c
index 5258972..094332f 100644
--- a/regparse.c
+++ b/regparse.c
@@ -4160,7 +4160,6 @@ add_ctype_to_cc(CClassNode* cc, int ctype, int not, int ascii_range, ScanEnv* en
const OnigCodePoint *ranges;
OnigCodePoint sb_out;
OnigEncoding enc = env->enc;
- OnigOptionType option = env->option;
r = ONIGENC_GET_CTYPE_CODE_RANGE(enc, ctype, &sb_out, &ranges);
if (r == 0) {