1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
normal 2014-02-13 09:40:03 +00:00
parent 9c4d2d79f3
commit 518ab3832d
2 changed files with 6 additions and 1 deletions

View file

@ -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> Thu Feb 13 18:28:51 2014 Eric Wong <e@80x24.org>
* re.c (rb_reg_regcomp): remove volatile * re.c (rb_reg_regcomp): remove volatile

2
re.c
View file

@ -630,7 +630,7 @@ rb_reg_to_s(VALUE re)
static void static void
rb_reg_raise(const char *s, long len, const char *err, VALUE re) 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); rb_raise(rb_eRegexpError, "%s: %"PRIsVALUE, err, desc);
} }