eval.c: remove unneeded GC guard
* eval.c (setup_exception): remove RB_GC_GUARD which is no longer needed since r41598. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ead3306b60
commit
a2fb6e600c
2
eval.c
2
eval.c
@ -513,7 +513,7 @@ setup_exception(rb_thread_t *th, int tag, volatile VALUE mesg, VALUE cause)
|
||||
|
||||
PUSH_TAG();
|
||||
if ((status = EXEC_TAG()) == 0) {
|
||||
RB_GC_GUARD(e) = rb_obj_as_string(e);
|
||||
e = rb_obj_as_string(e);
|
||||
if (file && line) {
|
||||
warn_printf("Exception `%s' at %s:%d - %"PRIsVALUE"\n",
|
||||
rb_obj_classname(th->errinfo), file, line, e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user