mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +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 */
|
/* We know we aren't going to change it */
|
||||||
key.val.string.buff = (char *) field_name;
|
key.val.string.buff = (char *) field_name;
|
||||||
|
item.type = RDT_NULL;
|
||||||
|
|
||||||
while (libretrodb_cursor_read_item(&cur, &item) == 0)
|
while (libretrodb_cursor_read_item(&cur, &item) == 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user