summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 95b022f542..644dfe2f31 100644
--- a/thread.c
+++ b/thread.c
@@ -4189,7 +4189,7 @@ rb_obj_is_mutex(VALUE obj)
static VALUE
mutex_alloc(VALUE klass)
{
- VALUE volatile obj;
+ VALUE obj;
rb_mutex_t *mutex;
obj = TypedData_Make_Struct(klass, rb_mutex_t, &mutex_data_type, mutex);