diff options
Diffstat (limited to 'compar.c')
-rw-r--r-- | compar.c | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -34,14 +34,6 @@ cmp_failed() } static VALUE -cmp_eq2(a) - VALUE *a; -{ - return rb_rescue2(cmp_eq, (VALUE)a, cmp_failed, 0, - rb_eStandardError, rb_eNameError, 0); -} - -static VALUE cmp_equal(x, y) VALUE x, y; { @@ -50,7 +42,8 @@ cmp_equal(x, y) if (x == y) return Qtrue; a[0] = x; a[1] = y; - return rb_rescue2(cmp_eq2, (VALUE)a, cmp_failed, 0, rb_eScriptError, 0); + return rb_rescue2(cmp_eq, (VALUE)a, cmp_failed, 0, + rb_eStandardError, rb_eNameError, 0); } static VALUE |