diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-28 11:12:36 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-28 11:12:36 +0000 |
commit | cfe9dcb886b225e5607e0bc13b591f9c4a020daa (patch) | |
tree | 30db52afb4a43f0e36e1513fb443c21149aa0d61 /eval_jump.c | |
parent | 2ba6eec1fa50cacaff647525358fd93c7c862a27 (diff) | |
download | ruby-cfe9dcb886b225e5607e0bc13b591f9c4a020daa.tar.gz |
* 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
Diffstat (limited to 'eval_jump.c')
-rw-r--r-- | eval_jump.c | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |