summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-28 12:56:10 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-28 12:56:10 +0000
commit3888bfecf2c193658bb11af3609671d91a44b778 (patch)
treefa3d58907bb426a26b55717057743627cd7207c3 /eval.c
parentcfe9dcb886b225e5607e0bc13b591f9c4a020daa (diff)
* vm_eval.c (rb_iterate): use volatile to suppress warnings.
* eval.c (ruby_cleanup): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 8040e8b585..e2540cae1b 100644
--- a/eval.c
+++ b/eval.c
@@ -125,7 +125,7 @@ ruby_finalize(void)
void rb_thread_stop_timer_thread(void);
int
-ruby_cleanup(int ex)
+ruby_cleanup(volatile int ex)
{
int state;
volatile VALUE errs[2];