summaryrefslogtreecommitdiffstats
path: root/vm_eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_eval.c')
-rw-r--r--vm_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_eval.c b/vm_eval.c
index 5935aaeac..8c2e10e61 100644
--- a/vm_eval.c
+++ b/vm_eval.c
@@ -1222,7 +1222,7 @@ rb_f_catch(int argc, VALUE *argv)
{
VALUE tag;
int state;
- VALUE val = Qnil; /* OK */
+ volatile VALUE val = Qnil; /* OK */
rb_thread_t *th = GET_THREAD();
rb_control_frame_t *saved_cfp = th->cfp;