summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pack.c b/pack.c
index 26c00f4b82..354eb0f9e3 100644
--- a/pack.c
+++ b/pack.c
@@ -247,7 +247,8 @@ num2i32(VALUE x)
return rb_big2ulong_pack(x);
}
rb_raise(rb_eTypeError, "can't convert %s to `integer'", rb_obj_classname(x));
- return 0; /* not reached */
+
+ UNREACHABLE;
}
#define MAX_INTEGER_PACK_SIZE 8