From cfe9dcb886b225e5607e0bc13b591f9c4a020daa Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 28 Feb 2009 11:12:36 +0000 Subject: * 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 --- eval_jump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eval_jump.c') diff --git a/eval_jump.c b/eval_jump.c index f474844ba8..18b6835c9c 100644 --- a/eval_jump.c +++ b/eval_jump.c @@ -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(); -- cgit v1.2.3