mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 13:30:26 +02:00
Fix embarassing use of uninitialized variable
This commit is contained in:
parent
47aa6f041f
commit
8b96d8cf90
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ size_t gc_visit_finalizer_roots(struct gc_finalizer_state *state,
|
||||||
void *),
|
void *),
|
||||||
struct gc_heap *heap,
|
struct gc_heap *heap,
|
||||||
void *visit_data) {
|
void *visit_data) {
|
||||||
size_t count;
|
size_t count = 0;
|
||||||
for (size_t tidx = 0; tidx < state->table_count; tidx++) {
|
for (size_t tidx = 0; tidx < state->table_count; tidx++) {
|
||||||
struct gc_finalizer_table *table = &state->tables[tidx];
|
struct gc_finalizer_table *table = &state->tables[tidx];
|
||||||
if (table->finalizer_count) {
|
if (table->finalizer_count) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue