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

ruby-changes:72217

From: Peter <ko1@a...>
Date: Fri, 17 Jun 2022 22:46:33 +0900 (JST)
Subject: [ruby-changes:72217] 2790bddda6 (master): Remove unused function declaration

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

From 2790bddda6e8ad49298de8bc71921f39e7390f26 Mon Sep 17 00:00:00 2001
From: Peter Zhu <peter@p...>
Date: Fri, 17 Jun 2022 09:44:17 -0400
Subject: Remove unused function declaration

iseq_alloc is not used in compile.c. It is also a static function
declared in iseq.c so it's not accessible in compile.c.
---
 compile.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/compile.c b/compile.c
index f83b19bdbd..b820d9be8c 100644
--- a/compile.c
+++ b/compile.c
@@ -10702,8 +10702,6 @@ struct ibf_dump { https://github.com/ruby/ruby/blob/trunk/compile.c#L10702
     struct ibf_dump_buffer *current_buffer;
 };
 
-rb_iseq_t * iseq_alloc(void);
-
 struct ibf_load_buffer {
     const char *buff;
     ibf_offset_t size;
-- 
cgit v1.2.1


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

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