summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-09 15:29:03 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-09 15:29:03 +0000
commited75a38f76609a9559ee88918fcb13497d65b708 (patch)
tree8fa2754c2871995b98dfb8671cac80f838e386b9 /range.c
parent2eac4d0fb43792401ed4c467e9cc1ce3f617ccf6 (diff)
downloadruby-ed75a38f76609a9559ee88918fcb13497d65b708.tar.gz
remove unused variable `tmp'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/range.c b/range.c
index fadcfb41a5..c23c3f45b7 100644
--- a/range.c
+++ b/range.c
@@ -620,7 +620,6 @@ range_include(VALUE range, VALUE val)
{
VALUE beg = rb_ivar_get(range, id_beg);
VALUE end = rb_ivar_get(range, id_end);
- VALUE tmp;
int nv = FIXNUM_P(beg) || FIXNUM_P(end) ||
rb_obj_is_kind_of(beg, rb_cNumeric) ||
rb_obj_is_kind_of(end, rb_cNumeric);