From 4a91fb7a45f0e3c28a3b7e2eff17d7fa94de7254 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 14 Mar 2014 01:27:46 +0000 Subject: [PATCH] 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 --- range.c | 7 ------- 1 file changed, 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)