summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-13 09:40:03 (GMT)
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-13 09:40:03 (GMT)
commit518ab3832decad53d53a6bd7dbfa5604cb112ee7 (patch)
tree6a86326fe12c21cfe6852ff5e83b08a4ae9f8a56 /re.c
parent9c4d2d79f3c2deca695fd6f08f48c5ece6211f12 (diff)
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
Diffstat (limited to 're.c')
-rw-r--r--re.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/re.c b/re.c
index 036d320..d7ffeb0 100644
--- a/re.c
+++ b/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);
}