summaryrefslogtreecommitdiff
path: root/vm_backtrace.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 09:50:34 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 09:50:34 +0000
commitfcd4ecd576ac1c3af047eb9491ae8c45c22d8e64 (patch)
treeb37a96bb5e75025a3db7e558a7b76aa33076fb34 /vm_backtrace.c
parented0aa14fcc1b2629cb385bc34e9a69c9a43a9fc5 (diff)
vm_backtrace.c: suppress warning
* vm_backtrace.c (rb_debug_inspector_open): suppress uninitialized-variable warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_backtrace.c')
-rw-r--r--vm_backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c
index c3c8d04..9dcb76d 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -938,7 +938,7 @@ rb_debug_inspector_open(rb_debug_inspector_func_t func, void *data)
rb_debug_inspector_t dbg_context;
rb_thread_t *th = GET_THREAD();
int state;
- VALUE result;
+ volatile VALUE UNINITIALIZED_VAR(result);
dbg_context.th = th;
dbg_context.cfp = dbg_context.th->cfp;