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

ruby-changes:71876

From: Nobuyoshi <ko1@a...>
Date: Thu, 19 May 2022 17:04:12 +0900 (JST)
Subject: [ruby-changes:71876] a72529182d (master): Suppress unused-function [ci skip]

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

From a72529182dfd832985367abbf5f4873db4735f90 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 19 May 2022 16:40:45 +0900
Subject: Suppress unused-function [ci skip]

---
 variable.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/variable.c b/variable.c
index 6360dd5476..23dc5f18e8 100644
--- a/variable.c
+++ b/variable.c
@@ -2307,6 +2307,7 @@ autoload_feature_lookup_or_create(VALUE feature, struct autoload_data **autoload https://github.com/ruby/ruby/blob/trunk/variable.c#L2307
     return autoload_data_value;
 }
 
+#if 0
 static VALUE
 autoload_feature_clear_if_empty(VALUE argument)
 {
@@ -2320,6 +2321,7 @@ autoload_feature_clear_if_empty(VALUE argument) https://github.com/ruby/ruby/blob/trunk/variable.c#L2321
 
     return Qnil;
 }
+#endif
 
 static struct st_table* autoload_table_lookup_or_create(VALUE module) {
     // Get or create an autoload table in the class instance variables:
-- 
cgit v1.2.1


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

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