aboutsummaryrefslogtreecommitdiffstats
path: root/vm_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_trace.c')
-rw-r--r--vm_trace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c
index f5260149b3..9b8ec40b33 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -276,7 +276,8 @@ exec_hooks(rb_thread_t *th, rb_hook_list_t *list, const rb_trace_arg_t *trace_ar
rb_threadptr_set_raised(th);
}
{
- rb_thread_t volatile *tmp = th;
+ /* maybe rb_thread_t *volatile? */
+ rb_thread_t volatile *RB_UNUSED_VAR(tmp) = th;
}
return state;