ruby-changes:33252
From: nobu <ko1@a...>
Date: Fri, 14 Mar 2014 10:27:51 +0900 (JST)
Subject: [ruby-changes:33252] nobu:r45331 (trunk): range.c: unused function
nobu 2014-03-14 10:27:46 +0900 (Fri, 14 Mar 2014) New Revision: 45331 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45331 Log: range.c: unused function * range.c (SET_EXCL): remove no longer used function. Modified files: trunk/range.c Index: range.c =================================================================== --- range.c (revision 45330) +++ range.c (revision 45331) @@ -31,13 +31,6 @@ static ID id_cmp, id_succ, id_beg, id_en https://github.com/ruby/ruby/blob/trunk/range.c#L31 #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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/