From bfc0a71a82f2b615e4879b0f2b39fc9cfb296abb Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 5 Nov 2021 10:32:55 +0900 Subject: [PATCH] Suppress unused-function warnings --- yjit_iface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yjit_iface.c b/yjit_iface.c index 82477c65b3..5c9dc891ba 100644 --- a/yjit_iface.c +++ b/yjit_iface.c @@ -1249,4 +1249,8 @@ rb_yjit_init(struct rb_yjit_options *options) 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; }