mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Fix unchecked return value warnings
This commit is contained in:
parent
29ca5b8c34
commit
858aae10cb
1 changed files with 4 additions and 2 deletions
|
@ -215,6 +215,7 @@ static core_info_list_t *core_info_list_new(void)
|
|||
|
||||
if (conf)
|
||||
{
|
||||
bool tmp_bool = false;
|
||||
unsigned count = 0;
|
||||
|
||||
config_get_string(conf, "display_name",
|
||||
|
@ -268,8 +269,9 @@ static core_info_list_t *core_info_list_new(void)
|
|||
core_info[i].notes)
|
||||
core_info[i].note_list = string_split(core_info[i].notes, "|");
|
||||
|
||||
config_get_bool(conf, "supports_no_game",
|
||||
&core_info[i].supports_no_game);
|
||||
if (config_get_bool(conf, "supports_no_game",
|
||||
&tmp_bool))
|
||||
core_info[i].supports_no_game = tmp_bool;
|
||||
|
||||
core_info[i].config_data = conf;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue