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:
parent
2ba6eec1fa
commit
cfe9dcb886
6 changed files with 23 additions and 9 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue