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:
parent
9c4d2d79f3
commit
518ab3832d
2 changed files with 6 additions and 1 deletions
|
@ -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
2
re.c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue