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

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
This commit is contained in:
normal 2014-10-11 06:02:42 +00:00
parent 5fa4d56263
commit 58a73d96b4
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sat Oct 11 14:57:08 2014 Eric Wong <e@80x24.org>
* string.c (rb_str_intern): remove unnecessary RB_GC_GUARD
Sat Oct 11 13:47:13 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (remove_duplicate_keys): remove duplicate literal keys,

View file

@ -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);