From: normalperson@... Date: 2018-04-28T03:49:07+00:00 Subject: [ruby-core:86741] [Ruby trunk Misc#14720] [PATCH] cont.c: cleanup needless cast Issue #14720 has been reported by normalperson (Eric Wong). ---------------------------------------- Misc #14720: [PATCH] cont.c: cleanup needless cast https://bugs.ruby-lang.org/issues/14720 * Author: normalperson (Eric Wong) * Status: Open * Priority: Normal * Assignee: ko1 (Koichi Sasada) ---------------------------------------- It seems like leftover development step from r59557 ("refactoring Fiber status"). I will make fiber_status use BITFIELD macro in a future commit. * cont.c (struct rb_fiber_struct): drop const from fiber_status (fiber_status_set): remove cast Seems trivial. const seems overkill after at this time. Will commit in a few days if no objection (also have auto-fiber/green-thread stuff which touches this area of code) ---Files-------------------------------- 0001-cont.c-cleanup-needless-cast (0 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: