summaryrefslogtreecommitdiff
path: root/vm_backtrace.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-24 07:17:17 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-24 07:17:17 (GMT)
commit2fdc058e805e1b56da519b096b9a2d8966566f4d (patch)
treeeed9a6e3359b81104c25e5f64832b7a145cf8e6b /vm_backtrace.c
parent116f7e60277d19a4e57f129a2079425e088d2d06 (diff)
vm_backtrace.c: initialize flag
* vm_backtrace.c (rb_backtrace_print_as_bugreport): initialize header-printed flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44699 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 f57458e..7c7478c 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -766,7 +766,7 @@ void
rb_backtrace_print_as_bugreport(void)
{
struct oldbt_arg arg;
- int i;
+ int i = 0;
arg.func = oldbt_bugreport;
arg.data = (int *)&i;