Suppress an unused function

This commit is contained in:
Nobuyoshi Nakada 2022-04-07 17:55:51 +09:00
parent f2377e4caa
commit 23090cf681
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -143,6 +143,7 @@ static VALUE thread_spec_ruby_native_thread_p(VALUE self) {
}
}
#ifndef _WIN32
static VALUE false_result = Qfalse;
static VALUE true_result = Qtrue;
@ -153,6 +154,7 @@ static void *new_thread_check(void *args) {
return &false_result;
}
}
#endif
static VALUE thread_spec_ruby_native_thread_p_new_thread(VALUE self) {
#ifndef _WIN32