ruby-changes:69600
From: Nobuyoshi <ko1@a...>
Date: Fri, 5 Nov 2021 10:36:23 +0900 (JST)
Subject: [ruby-changes:69600] bfc0a71a82 (master): Suppress unused-function warnings
https://git.ruby-lang.org/ruby.git/commit/?id=bfc0a71a82 From bfc0a71a82f2b615e4879b0f2b39fc9cfb296abb Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 5 Nov 2021 10:32:55 +0900 Subject: Suppress unused-function warnings --- yjit_iface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yjit_iface.c b/yjit_iface.c index 82477c65b3a..5c9dc891ba1 100644 --- a/yjit_iface.c +++ b/yjit_iface.c @@ -1249,4 +1249,8 @@ rb_yjit_init(struct rb_yjit_options *options) https://github.com/ruby/ruby/blob/trunk/yjit_iface.c#L1249 struct yjit_root_struct *root; VALUE yjit_root = TypedData_Make_Struct(0, struct yjit_root_struct, &yjit_root_type, root); rb_gc_register_mark_object(yjit_root); + + (void)yjit_get_cb; + (void)yjit_get_ocb; + (void)yjit_get_code_page; } -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/