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

ruby-changes:69299

From: Nobuyoshi <ko1@a...>
Date: Thu, 21 Oct 2021 13:15:08 +0900 (JST)
Subject: [ruby-changes:69299] 18b65508e2 (master): Suppress warnings

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

From 18b65508e28b42849bb7523014aa7f2296fe6c60 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 21 Oct 2021 12:57:02 +0900
Subject: Suppress warnings

---
 yjit_asm_tests.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/yjit_asm_tests.c b/yjit_asm_tests.c
index 295edb86e5..7650505fb3 100644
--- a/yjit_asm_tests.c
+++ b/yjit_asm_tests.c
@@ -422,6 +422,10 @@ void run_runtime_tests() https://github.com/ruby/ruby/blob/trunk/yjit_asm_tests.c#L422
 
 int main(int argc, char** argv)
 {
+    // suppress -Wunused-function
+    (void)alloc_code_page;
+    (void)free_code_page;
+
     run_assembler_tests();
     run_runtime_tests();
 
-- 
cgit v1.2.1


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

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