diff options
Diffstat (limited to 'eval_error.c')
-rw-r--r-- | eval_error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval_error.c b/eval_error.c index c469474159..ff3db23a6b 100644 --- a/eval_error.c +++ b/eval_error.c @@ -73,10 +73,10 @@ error_print(rb_thread_t *th) } void -rb_threadptr_error_print(rb_thread_t *th, VALUE errinfo) +rb_threadptr_error_print(rb_thread_t *volatile th, volatile VALUE errinfo) { volatile VALUE errat = Qundef; - int raised_flag = th->raised_flag; + volatile int raised_flag = th->raised_flag; volatile VALUE eclass = Qundef, e = Qundef; const char *volatile einfo; volatile long elen; |