diff options
Diffstat (limited to 'ext/-test-/st')
-rw-r--r-- | ext/-test-/st/numhash/numhash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/-test-/st/numhash/numhash.c b/ext/-test-/st/numhash/numhash.c index c746ac5495..d4dbd1a0ce 100644 --- a/ext/-test-/st/numhash/numhash.c +++ b/ext/-test-/st/numhash/numhash.c @@ -42,10 +42,9 @@ numhash_aset(VALUE self, VALUE key, VALUE data) } static int -numhash_i(st_data_t key, st_data_t value, st_data_t arg, int error) +numhash_i(st_data_t key, st_data_t value, st_data_t arg) { VALUE ret; - if (key == 0 && value == 0 && error == 1) rb_raise(rb_eRuntimeError, "numhash modified"); ret = rb_yield_values(3, (VALUE)key, (VALUE)value, (VALUE)arg); if (ret == Qtrue) return ST_CHECK; return ST_CONTINUE; |