summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-11 06:02:42 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-11 06:02:42 +0000
commit58a73d96b44de66c7a665e08374391adcad5239c (patch)
treee219851f1f4fed72f8865a3fb531edef184fe7f0 /string.c
parent5fa4d56263101569024cf0e9516851f91dcd1f4c (diff)
string.c (rb_str_intern): remove unnecessary RB_GC_GUARD
Incorrectly placed, and no longer needed since r25351 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/string.c b/string.c
index fc6fe5942f..6e50b8ef2e 100644
--- a/string.c
+++ b/string.c
@@ -7549,9 +7549,8 @@ rb_str_crypt(VALUE str, VALUE salt)
VALUE
-rb_str_intern(VALUE s)
+rb_str_intern(VALUE str)
{
- VALUE str = RB_GC_GUARD(s);
ID id;
id = rb_intern_str(str);