mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-20 02:30:23 +02:00
replace use of uninitialized variable size in reset_literal_pool
This commit is contained in:
parent
bfba596dda
commit
6cdea3995a
1 changed files with 1 additions and 1 deletions
|
@ -1328,7 +1328,7 @@ static void
|
|||
reset_literal_pool(jit_state_t *_jit, struct jit_literal_pool *pool)
|
||||
{
|
||||
pool->deadline = _jit->limit - _jit->start;
|
||||
memset(pool->entries, 0, sizeof(pool->entries[0]) * pool->size);
|
||||
memset(pool->entries, 0, sizeof(pool->entries[0]) * pool->capacity);
|
||||
pool->size = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue