Browse files

re.c (rb_reg_raise): remove volatile

* re.c (rb_reg_raise): remove volatile
  Unnecessary since r41597

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent 9c4d2d7 commit 518ab3832decad53d53a6bd7dbfa5604cb112ee7 normal committed Feb 13, 2014
Showing with 6 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +1 −1 re.c
View
5 ChangeLog
@@ -1,3 +1,8 @@
+Thu Feb 13 18:38:15 2014 Eric Wong <e@80x24.org>
+
+ * re.c (rb_reg_raise): remove volatile
+ Unnecessary since r41597
+
Thu Feb 13 18:28:51 2014 Eric Wong <e@80x24.org>
* re.c (rb_reg_regcomp): remove volatile
View
2 re.c
@@ -630,7 +630,7 @@ rb_reg_to_s(VALUE re)
static void
rb_reg_raise(const char *s, long len, const char *err, VALUE re)
{
- volatile VALUE desc = rb_reg_desc(s, len, re);
+ VALUE desc = rb_reg_desc(s, len, re);
rb_raise(rb_eRegexpError, "%s: %"PRIsVALUE, err, desc);
}

0 comments on commit 518ab38

Please sign in to comment.