diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-05-11 00:24:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-05-11 00:40:14 +0900 |
commit | 5d430c1b34b6162d4cfbd472fae09e6ea282f3a3 (patch) | |
tree | 23b5b2a1e472c04100acabb934cff1a6639ada5b /compile.c | |
parent | a1e1fdca091bdd20ccfd69b682e8f1f6f51fa4f3 (diff) |
Added more NORETURN declarations
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10856,11 +10856,13 @@ ibf_dump_object_unsupported(struct ibf_dump *dump, VALUE obj) rb_raise(rb_eNotImpError, "ibf_dump_object_unsupported: %s", buff); } +NORETURN(static VALUE ibf_load_object_unsupported(const struct ibf_load *load, const struct ibf_object_header *header, ibf_offset_t offset)); + static VALUE ibf_load_object_unsupported(const struct ibf_load *load, const struct ibf_object_header *header, ibf_offset_t offset) { rb_raise(rb_eArgError, "unsupported"); - return Qnil; + UNREACHABLE_RETURN(Qnil); } static void |