aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--thread.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7324454287..18db125c44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jul 16 19:12:30 2015 Eric Wong <e@80x24.org>
+
+ * thread.c (mutex_alloc): remove needless volatile
+
Thu Jul 16 22:05:29 2015 Koichi Sasada <ko1@atdot.net>
* vm_core.h: constify rb_iseq_t::parent_iseq.
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);