mirror of
https://github.com/libretro/RetroArch
synced 2025-02-15 00:40:06 +00:00
(libretrodb) Prevent uninitialized scalar variable
This commit is contained in:
parent
6d11f4ab9b
commit
414ced5901
@ -482,6 +482,7 @@ int libretrodb_create_index(libretrodb_t *db,
|
||||
|
||||
/* We know we aren't going to change it */
|
||||
key.val.string.buff = (char *) field_name;
|
||||
item.type = RDT_NULL;
|
||||
|
||||
while (libretrodb_cursor_read_item(&cur, &item) == 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user