mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Add mrb_noreturn to cmperr() in src/numeric.c
This commit is contained in:
+1
-1
@@ -1498,7 +1498,7 @@ integral_cmp(mrb_state *mrb, mrb_value self)
|
||||
return mrb_fixnum_value(n);
|
||||
}
|
||||
|
||||
static void
|
||||
static mrb_noreturn void
|
||||
cmperr(mrb_state *mrb, mrb_value v1, mrb_value v2)
|
||||
{
|
||||
mrb_raisef(mrb, E_ARGUMENT_ERROR, "comparison of %t with %t failed", v1, v2);
|
||||
|
||||
Reference in New Issue
Block a user