aboutsummaryrefslogtreecommitdiffstats
path: root/range.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-14 01:27:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-03-14 01:27:46 +0000
commit4a91fb7a45f0e3c28a3b7e2eff17d7fa94de7254 (patch)
tree77b444f8563c675c495fedb670bd32ba9c2b86b9 /range.c
parent3008ea2872dfb25322c110cb9baba342c077f2c8 (diff)
downloadruby-4a91fb7a45f0e3c28a3b7e2eff17d7fa94de7254.tar.gz
range.c: unused function
* range.c (SET_EXCL): remove no longer used function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/range.c b/range.c
index b4a2bd40ed..0a67b6f7c3 100644
--- a/range.c
+++ b/range.c
@@ -31,13 +31,6 @@ static ID id_cmp, id_succ, id_beg, id_end, id_excl, id_integer_p, id_div;
#define RBOOL(v) ((v) ? Qtrue : Qfalse)
#define EXCL(r) RTEST(RANGE_EXCL(r))
-static inline VALUE
-SET_EXCL(VALUE r, VALUE v)
-{
- v = RBOOL(RTEST(v));
- RANGE_SET_EXCL(r, v);
- return v;
-}
static VALUE
range_failed(void)