ruby-changes:72287
From: Nobuyoshi <ko1@a...>
Date: Thu, 23 Jun 2022 16:45:44 +0900 (JST)
Subject: [ruby-changes:72287] c25c1d4e54 (master): Non-void functions must return value
https://git.ruby-lang.org/ruby.git/commit/?id=c25c1d4e54 From c25c1d4e54c51594cbc6a6d51ae79885bea7a7b3 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 23 Jun 2022 16:45:05 +0900 Subject: Non-void functions must return value --- thread_win32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/thread_win32.c b/thread_win32.c index 8cae77558e..ccff8bc93f 100644 --- a/thread_win32.c +++ b/thread_win32.c @@ -33,12 +33,14 @@ rb_internal_thread_event_hook_t * https://github.com/ruby/ruby/blob/trunk/thread_win32.c#L33 rb_internal_thread_add_event_hook(rb_internal_thread_event_callback callback, rb_event_flag_t internal_event, void *user_data) { // not implemented + return NULL; } bool rb_internal_thread_remove_event_hook(rb_internal_thread_event_hook_t * hook) { // not implemented + return false; } RBIMPL_ATTR_NORETURN() -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/