Project

General

Profile

« Previous | Next » 

Revision 5ba4d948

Added by nobu (Nobuyoshi Nakada) over 8 years ago

eval.c: suppress warnings

  • eval.c (exc_setup_message): setup exception message as an
    exception instance, and a cause from a previous exception.
    split from setup_exception to suppress a warning when
    RUBY_USE_SETJMPEX is enabled.

  • eval.c (setup_exception): make state volatile to suppress a
    warning too.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e