unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
22e7258275
commit
7d98c90ef2
1
re.c
1
re.c
@ -1036,7 +1036,6 @@ rb_reg_search(VALUE re, VALUE str, int pos, int reverse)
|
|||||||
VALUE match;
|
VALUE match;
|
||||||
static struct re_registers regs;
|
static struct re_registers regs;
|
||||||
char *range = RSTRING_PTR(str);
|
char *range = RSTRING_PTR(str);
|
||||||
rb_encoding *enc = rb_enc_get(str);
|
|
||||||
|
|
||||||
if (pos > RSTRING_LEN(str) || pos < 0) {
|
if (pos > RSTRING_LEN(str) || pos < 0) {
|
||||||
rb_backref_set(Qnil);
|
rb_backref_set(Qnil);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user