aboutsummaryrefslogtreecommitdiffstats
path: root/ext/tk/tcltklib.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/tk/tcltklib.c')
-rw-r--r--ext/tk/tcltklib.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c
index d164e5cd3b..658ba4bffa 100644
--- a/ext/tk/tcltklib.c
+++ b/ext/tk/tcltklib.c
@@ -3636,11 +3636,7 @@ ip_ruby_cmd(clientData, interp, argc, argv)
s = rb_tainted_str_new2(str);
#endif
DUMP2("arg:%s",str);
-#ifndef HAVE_STRUCT_RARRAY_LEN
rb_ary_push(args, s);
-#else
- RARRAY(args)->ptr[RARRAY(args)->len++] = s;
-#endif
}
if (old_gc == Qfalse) rb_gc_enable();