mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-28 04:23:36 +01:00
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:
parent
7e859169fe
commit
70dccc29da
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue