summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--vm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d13ec0cce..bf5eb30a91 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Sep 13 06:31:23 2014 Eric Wong <e@80x24.org>
+
+ * vm.c (thread_alloc): remove needless volatile
+
Sat Sep 13 06:13:55 2014 Eric Wong <e@80x24.org>
* proc.c (proc_free): remove, use RUBY_TYPED_DEFAULT_FREE
diff --git a/vm.c b/vm.c
index 341b04de09..0c45f96c38 100644
--- a/vm.c
+++ b/vm.c
@@ -2121,7 +2121,7 @@ rb_obj_is_thread(VALUE obj)
static VALUE
thread_alloc(VALUE klass)
{
- VALUE volatile obj;
+ VALUE obj;
rb_thread_t *th;
obj = TypedData_Make_Struct(klass, rb_thread_t, &thread_data_type, th);