remove unused variable `tmp'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2eac4d0fb4
commit
ed75a38f76
1
range.c
1
range.c
@ -620,7 +620,6 @@ range_include(VALUE range, VALUE val)
|
|||||||
{
|
{
|
||||||
VALUE beg = rb_ivar_get(range, id_beg);
|
VALUE beg = rb_ivar_get(range, id_beg);
|
||||||
VALUE end = rb_ivar_get(range, id_end);
|
VALUE end = rb_ivar_get(range, id_end);
|
||||||
VALUE tmp;
|
|
||||||
int nv = FIXNUM_P(beg) || FIXNUM_P(end) ||
|
int nv = FIXNUM_P(beg) || FIXNUM_P(end) ||
|
||||||
rb_obj_is_kind_of(beg, rb_cNumeric) ||
|
rb_obj_is_kind_of(beg, rb_cNumeric) ||
|
||||||
rb_obj_is_kind_of(end, rb_cNumeric);
|
rb_obj_is_kind_of(end, rb_cNumeric);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user