summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/re.c b/re.c
index 24fc697e07..29f5a89d16 100644
--- a/re.c
+++ b/re.c
@@ -992,10 +992,6 @@ match_select(argc, argv, match)
VALUE *argv;
VALUE match;
{
- if (!rb_block_given_p()) {
- rb_warn("MatchData#select(index..) is deprecated; use MatchData#values_at");
- return match_values_at(argc, argv, match);
- }
if (argc > 0) {
rb_raise(rb_eArgError, "wrong number arguments(%d for 0)", argc);
}