aboutsummaryrefslogtreecommitdiffstats
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/object.c b/object.c
index b5514322d2..f02b45af1c 100644
--- a/object.c
+++ b/object.c
@@ -4086,9 +4086,7 @@ rb_obj_dig(int argc, VALUE *argv, VALUE obj, VALUE notfound)
}
return rb_check_funcall_with_hook_kw(obj, id_dig, argc, argv,
no_dig_method, obj,
- rb_empty_keyword_given_p() ?
- RB_PASS_EMPTY_KEYWORDS :
- RB_NO_KEYWORDS);
+ RB_NO_KEYWORDS);
}
return obj;
}