aboutsummaryrefslogtreecommitdiffstats
path: root/eval_jump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-04 08:34:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-04-04 08:34:12 +0000
commite18259424ea6f1baafacab442d57c05d51c2548b (patch)
treee054a11ce590506a78cb7083e82d7859a2df92a5 /eval_jump.c
parent9dd0113023283583441fc4f3cc571c275ec5ec0b (diff)
downloadruby-e18259424ea6f1baafacab442d57c05d51c2548b.tar.gz
eval_intern.h: VAR_INITIALIZED
* eval_intern.h (VAR_INITIALIZED): macro to suppress maybe-uninitialized warnings by gcc 4.7 and 4.8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_jump.c')
-rw-r--r--eval_jump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval_jump.c b/eval_jump.c
index 30094e9176..5443ed224e 100644
--- a/eval_jump.c
+++ b/eval_jump.c
@@ -123,6 +123,7 @@ rb_exec_end_proc(void)
exec_end_procs_chain(&end_procs);
}
else {
+ VAR_INITIALIZED(th);
TH_TMPPOP_TAG();
error_handle(status);
if (!NIL_P(th->errinfo)) errinfo = th->errinfo;