Commit 50d9d974 authored by Jun Hiroe's avatar Jun Hiroe

Refacotr mrb_obj_not_equal_m()

parent 2f1b4eb1
......@@ -102,12 +102,9 @@ static mrb_value
mrb_obj_not_equal_m(mrb_state *mrb, mrb_value self)
{
mrb_value arg;
mrb_bool eql_p;
mrb_get_args(mrb, "o", &arg);
eql_p = mrb_equal(mrb, self, arg);
return mrb_bool_value(!eql_p);
return mrb_bool_value(!mrb_equal(mrb, self, arg));
}
/* 15.3.1.3.2 */
......
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