[前][次][番号順一覧][スレッド一覧]

ruby-changes:70497

From: Kenta <ko1@a...>
Date: Fri, 24 Dec 2021 09:44:48 +0900 (JST)
Subject: [ruby-changes:70497] 9ccfc78346 (master): [ruby/bigdecimal] Remove unused variable

https://git.ruby-lang.org/ruby.git/commit/?id=9ccfc78346

From 9ccfc78346436ee1ea79c9ce8b2815320e4fe867 Mon Sep 17 00:00:00 2001
From: Kenta Murata <mrkn@m...>
Date: Fri, 24 Dec 2021 09:43:22 +0900
Subject: [ruby/bigdecimal] Remove unused variable

https://github.com/ruby/bigdecimal/commit/ac7daa5f15
---
 ext/bigdecimal/bigdecimal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 4111fbd7d32..f4dcb2ee7ab 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -1618,7 +1618,7 @@ BigDecimal_divide(VALUE self, VALUE r, Real **c, Real **res, Real **div) https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L1618
 /* For c = self.div(r): with round operation */
 {
     ENTER(5);
-    Real *a, *b, *d;
+    Real *a, *b;
     ssize_t a_prec, b_prec;
     size_t mx;
 
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]