diff options
author | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-31 09:22:35 +0000 |
---|---|---|
committer | nari <nari@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-31 09:22:35 +0000 |
commit | 9fd08911c0ab12591735c133769ef1828e5bd9c0 (patch) | |
tree | 175a5db3a10a9a2dabfdff4de4873e9590ca35a5 /gc.c | |
parent | 7ae466f134a457e16d88dce4a5355b4cd6596ae5 (diff) |
* gc.c (gc_prof_mark_timer_stop): count is not initialized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3986,7 +3986,7 @@ gc_prof_mark_timer_stop(rb_objspace_t *objspace) { if (objspace->profile.run) { double mark_time = 0; - size_t count = count; + size_t count = objspace->profile.count; gc_profile_record *record = &objspace->profile.record[count]; mark_time = getrusage_time() - record->gc_mark_time; |