Skip to content

Commit 26124bf

Browse files
jhawthornmatthewd
andcommitted
Remove nonsense assignment to name
This was treating Qnil as a char to assign it... Co-authored-by: Matthew Draper <[email protected]>
1 parent 8edc600 commit 26124bf

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/vernier/vernier.cc

-1
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,6 @@ class Thread {
786786

787787
// FIXME: don't use pthread at start
788788
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) {
789-
name = Qnil;
790789
ruby_thread_id = rb_obj_id(ruby_thread);
791790
//ruby_thread_id = ULL2NUM(ruby_thread);
792791
native_tid = get_native_thread_id();

0 commit comments

Comments
 (0)