mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed warning: ‘new_item.probe_len’ may be used uninitialized in this function
This commit is contained in:
parent
c8f5f6d47a
commit
4b7c5f561b
1 changed files with 1 additions and 0 deletions
|
|
@ -307,6 +307,7 @@ bool SDL_InsertIntoHashTable(SDL_HashTable *table, const void *key, const void *
|
|||
new_item.value = value;
|
||||
new_item.hash = hash;
|
||||
new_item.live = true;
|
||||
new_item.probe_len = 0;
|
||||
|
||||
table->num_occupied_slots++;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue