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

* eval_error.c (error_print): use volatile to suppress warnings.

* vm_eval.c (eval_string_with_cref): ditto.

* thread.c (rb_exec_recursive): ditto.

* eval_jump.c (rb_exec_end_proc): ditto.

* eval.c (ruby_exec_node): ditto.
  (rb_longjmp): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2009-02-28 11:12:36 +00:00
parent 2ba6eec1fa
commit cfe9dcb886
6 changed files with 23 additions and 9 deletions

View file

@ -101,7 +101,8 @@ rb_mark_end_proc(void)
void
rb_exec_end_proc(void)
{
struct end_proc_data *link, *tmp;
struct end_proc_data *volatile link;
struct end_proc_data *tmp;
int status;
volatile int safe = rb_safe_level();