mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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 changed files with 0 additions and 1 deletions
1
re.c
1
re.c
|
@ -1036,7 +1036,6 @@ rb_reg_search(VALUE re, VALUE str, int pos, int reverse)
|
|||
VALUE match;
|
||||
static struct re_registers regs;
|
||||
char *range = RSTRING_PTR(str);
|
||||
rb_encoding *enc = rb_enc_get(str);
|
||||
|
||||
if (pos > RSTRING_LEN(str) || pos < 0) {
|
||||
rb_backref_set(Qnil);
|
||||
|
|
Loading…
Reference in a new issue