From cc376ee2105c7451fc5d518730b9e00abc7537f9 Mon Sep 17 00:00:00 2001 From: mrkn Date: Sat, 12 Nov 2016 12:16:12 +0000 Subject: [PATCH] raitonal.c: remove needless macro * rational.c (id_lshift, f_lshift): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- rational.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/rational.c b/rational.c index 9d218d493e..be0eba2670 100644 --- a/rational.c +++ b/rational.c @@ -2039,9 +2039,6 @@ float_decode(VALUE self) } #endif -#define id_lshift rb_intern("<<") -#define f_lshift(x,n) rb_funcall((x), id_lshift, 1, (n)) - /* * call-seq: * flt.to_r -> rational