Commit 8496f84b authored by Jun Hiroe's avatar Jun Hiroe

Refactor fix_rev

parent b046ded6
......@@ -891,8 +891,7 @@ fix_rev(mrb_state *mrb, mrb_value num)
{
mrb_int val = mrb_fixnum(num);
val = ~val;
return mrb_fixnum_value(val);
return mrb_fixnum_value(~val);
}
static mrb_value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment