1
0
Fork 0
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:
akr 2008-01-04 03:13:53 +00:00
parent 22e7258275
commit 7d98c90ef2

1
re.c
View file

@ -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);