summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index ce4553bfff..9c75427314 100644
--- a/array.c
+++ b/array.c
@@ -11,6 +11,7 @@
************************************************/
#include "ruby.h"
+#include "util.h"
VALUE rb_cArray;
@@ -44,7 +45,6 @@ static void
rb_ary_modify(ary)
VALUE ary;
{
- rb_secure(5);
if (FL_TEST(ary, ARY_FREEZE|ARY_TMPLOCK)) {
rb_raise(rb_eTypeError, "can't modify frozen array");
}