Mark as NORETURN
This commit is contained in:
parent
206110a2a8
commit
47f55b4b44
Notes:
git
2025-06-04 07:38:11 +00:00
@ -36,9 +36,11 @@ VALUE exception_spec_rb_set_errinfo(VALUE self, VALUE exc) {
|
||||
return Qnil;
|
||||
}
|
||||
|
||||
NORETURN(VALUE exception_spec_rb_error_frozen_object(VALUE self, VALUE object));
|
||||
|
||||
VALUE exception_spec_rb_error_frozen_object(VALUE self, VALUE object) {
|
||||
rb_error_frozen_object(object);
|
||||
return Qnil;
|
||||
rb_error_frozen_object(object);
|
||||
UNREACHABLE_RETURN(Qnil);
|
||||
}
|
||||
|
||||
VALUE exception_spec_rb_syserr_new(VALUE self, VALUE num, VALUE msg) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user