summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--array.c3
-rw-r--r--cont.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/array.c b/array.c
index 132528d..27b6325 100644
--- a/array.c
+++ b/array.c
@@ -1811,10 +1811,9 @@ ary_enum_length(VALUE ary, VALUE args, VALUE eobj)
*/
VALUE
-rb_ary_each(VALUE array)
+rb_ary_each(VALUE ary)
{
long i;
- volatile VALUE ary = array;
RETURN_SIZED_ENUMERATOR(ary, 0, 0, ary_enum_length);
for (i=0; i<RARRAY_LEN(ary); i++) {
diff --git a/cont.c b/cont.c
index 2ac2b3d..d5d8925 100644
--- a/cont.c
+++ b/cont.c
@@ -519,7 +519,7 @@ cont_capture(volatile int *stat)
}
if (ruby_setjmp(cont->jmpbuf)) {
- volatile VALUE value;
+ VALUE value;
VAR_INITIALIZED(cont);
value = cont->value;