summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/struct.c b/struct.c
index 474b267cf2..73a7f5aeea 100644
--- a/struct.c
+++ b/struct.c
@@ -544,10 +544,6 @@ rb_struct_select(argc, argv, s)
VALUE result;
long i;
- if (!rb_block_given_p()) {
- rb_warn("Struct#select(index..) is deprecated; use Struct#values_at");
- return rb_struct_values_at(argc, argv, s);
- }
if (argc > 0) {
rb_raise(rb_eArgError, "wrong number arguments(%d for 0)", argc);
}