Misc #14720
closed[PATCH] cont.c: cleanup needless cast
Description
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
Updated by ko1 (Koichi Sasada) about 6 years ago
0001-cont.c-cleanup-needless-cast (0 Bytes)
it seems redmine system error.
Updated by normalperson (Eric Wong) about 6 years ago
Updated by normalperson (Eric Wong) about 6 years ago
ko1@atdot.net wrote:
0001-cont.c-cleanup-needless-cast (0 Bytes)
Reattached. Also posted to spew@80x24.org:
https://80x24.org/spew/20180428050438.16831-1-e@80x24.org/raw
Updated by ko1 (Koichi Sasada) about 6 years ago
Thank you. No problem.
Updated by normalperson (Eric Wong) about 6 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r63315.
cont.c: cleanup needless cast
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
[ruby-core:86788] [Misc #14720]