diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-29 15:45:25 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-29 15:45:25 +0000 |
commit | 6c42f57177e7cb6c8025e3c482df5ba7359c4f4e (patch) | |
tree | 94c0f01cbea4849ba0f29db9c4153e0b91877a10 /vm_trace.c | |
parent | ce0c2b2170f4fd562b1019e325638649def9d924 (diff) | |
download | ruby-6c42f57177e7cb6c8025e3c482df5ba7359c4f4e.tar.gz |
* vm_trace.c, vm.c, thread.c: get rid of (maybe false positive) warnings about
using uninitialized var with VC++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c index 678b819068..a56261974e 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -216,7 +216,7 @@ void rb_clear_trace_func(void) { rb_vm_t *vm = GET_VM(); - rb_thread_t *th; + rb_thread_t *th = 0; list_for_each(&vm->living_threads, th, vmlt_node) { rb_threadptr_remove_event_hook(th, 0, Qundef); |