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

ruby-changes:64276

From: Nobuyoshi <ko1@a...>
Date: Fri, 18 Dec 2020 17:56:26 +0900 (JST)
Subject: [ruby-changes:64276] 7d32bf7853 (master): Removed a moved local variable

https://git.ruby-lang.org/ruby.git/commit/?id=7d32bf7853

From 7d32bf78537eaeb046166b45a79b47316ccf6f02 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 18 Dec 2020 17:56:08 +0900
Subject: Removed a moved local variable


diff --git a/gc.c b/gc.c
index cb7b8af..91a9aeb 100644
--- a/gc.c
+++ b/gc.c
@@ -3724,8 +3724,6 @@ finalize_deferred(rb_objspace_t *objspace) https://github.com/ruby/ruby/blob/trunk/gc.c#L3724
 static void
 gc_finalize_deferred(void *dmy)
 {
-    rb_objspace_t *objspace = dmy;
-
     RB_VM_LOCK_ENTER();
     {
         rb_objspace_t *objspace = dmy;
-- 
cgit v0.10.2


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

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