* eval.c (setup_exception): suppress a "clobbered" warning by gcc
  4.9.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-02-26 14:43:43 +00:00
Родитель 8467d86f8a
Коммит e204d7ebd8
1 изменённых файлов: 1 добавлений и 1 удалений

2
eval.c
Просмотреть файл

@ -515,7 +515,7 @@ setup_exception(rb_thread_t *th, int tag, volatile VALUE mesg, VALUE cause)
PUSH_TAG(); PUSH_TAG();
if ((status = EXEC_TAG()) == 0) { if ((status = EXEC_TAG()) == 0) {
th->errinfo = Qnil; th->errinfo = Qnil;
e = rb_obj_as_string(e); e = rb_obj_as_string(mesg);
th->errinfo = mesg; th->errinfo = mesg;
if (file && line) { if (file && line) {
warn_printf("Exception `%"PRIsVALUE"' at %s:%d - %"PRIsVALUE"\n", warn_printf("Exception `%"PRIsVALUE"' at %s:%d - %"PRIsVALUE"\n",