diff options
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/string.c b/src/string.c index 53e8fcab6..679b06f9e 100644 --- a/src/string.c +++ b/src/string.c @@ -1511,9 +1511,8 @@ mrb_value mrb_str_intern(mrb_state *mrb, mrb_value self) { mrb_sym id; - mrb_value str = RB_GC_GUARD(self); - id = mrb_intern_str(mrb, str); + id = mrb_intern_str(mrb, self); return mrb_symbol_value(id); } |
