diff --git a/ext/bitpack_ext.c b/ext/bitpack_ext.c index f9933a5..87cedfe 100644 --- a/ext/bitpack_ext.c +++ b/ext/bitpack_ext.c @@ -654,7 +654,7 @@ void Init_bitpack() bp_exceptions[BITPACK_ERR_VALUE_TOO_BIG] = rb_eArgError; bp_exceptions[BITPACK_ERR_RANGE_TOO_BIG] = rb_eRangeError; bp_exceptions[BITPACK_ERR_READ_PAST_END] = rb_eRangeError; - bp_exceptions[BITPACK_ERR_EMPTY] = rb_eRangeError; + // bp_exceptions[BITPACK_ERR_EMPTY] = rb_eRangeError; /* require the pure ruby methods */ rb_require("lib/bitpack.rb");