style: initialize non-trivially initialized pointer

We always have c <= 15 but it's not structural enough that we can
outright skip initializing the pointer.
This commit is contained in:
Lephe 2023-01-14 22:27:26 +01:00
parent 7e859169fe
commit 70dccc29da
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ static void *gint_malloc(size_t size, void *data)
int c = size_class(size);
/* Try to find a class that has a free block available */
block_t *alloc;
block_t *alloc = NULL;
for(; c <= 15; c++)
{
block_t *list = index->classes[c];