From 26124bf422694b432b14f5efe1b22a46c31f2eb0 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Tue, 27 Feb 2024 20:08:56 -0800 Subject: [PATCH] Remove nonsense assignment to name This was treating Qnil as a char to assign it... Co-authored-by: Matthew Draper --- ext/vernier/vernier.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/vernier/vernier.cc b/ext/vernier/vernier.cc index d7abdfc..fbc640c 100644 --- a/ext/vernier/vernier.cc +++ b/ext/vernier/vernier.cc @@ -786,7 +786,6 @@ class Thread { // FIXME: don't use pthread at start Thread(State state, pthread_t pthread_id, VALUE ruby_thread) : pthread_id(pthread_id), ruby_thread(ruby_thread), state(state), stack_on_suspend_idx(-1) { - name = Qnil; ruby_thread_id = rb_obj_id(ruby_thread); //ruby_thread_id = ULL2NUM(ruby_thread); native_tid = get_native_thread_id();