Commit 2f1b4eb1 authored by Jun Hiroe's avatar Jun Hiroe

Refactor mrb_obj_equal_m()

parent 2d8db3c6
......@@ -93,12 +93,9 @@ static mrb_value
mrb_obj_equal_m(mrb_state *mrb, mrb_value self)
{
mrb_value arg;
mrb_bool eql_p;
mrb_get_args(mrb, "o", &arg);
eql_p = mrb_obj_equal(mrb, self, arg);
return mrb_bool_value(eql_p);
return mrb_bool_value(mrb_obj_equal(mrb, self, arg));
}
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