summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'array.c')
-rw-r--r--array.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/array.c b/array.c
index b808c6449b..16eac81a3f 100644
--- a/array.c
+++ b/array.c
@@ -2638,7 +2638,8 @@ static VALUE
rb_ary_diff(ary1, ary2)
VALUE ary1, ary2;
{
- VALUE ary3, hash;
+ VALUE ary3;
+ volatile VALUE hash;
long i;
hash = ary_make_hash(to_ary(ary2), 0);