Commit 6e2edd8e authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Add `mrb_noreturn` to `cmperr()` in `src/numeric.c`

parent 2ba8399a
...@@ -1498,7 +1498,7 @@ integral_cmp(mrb_state *mrb, mrb_value self) ...@@ -1498,7 +1498,7 @@ integral_cmp(mrb_state *mrb, mrb_value self)
return mrb_fixnum_value(n); return mrb_fixnum_value(n);
} }
static void static mrb_noreturn void
cmperr(mrb_state *mrb, mrb_value v1, mrb_value v2) cmperr(mrb_state *mrb, mrb_value v1, mrb_value v2)
{ {
mrb_raisef(mrb, E_ARGUMENT_ERROR, "comparison of %t with %t failed", v1, v2); mrb_raisef(mrb, E_ARGUMENT_ERROR, "comparison of %t with %t failed", v1, v2);
......
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