mirror of
https://github.com/libretro/RetroArch
synced 2025-03-16 07:21:03 +00:00
(Menu) Fix a couple of potential uninitialized references
This commit is contained in:
parent
e79f9f72ac
commit
b0b0b4ac91
@ -25,6 +25,7 @@
|
||||
#include "../menu_input_line_cb.h"
|
||||
|
||||
#include "../../../gfx/gfx_common.h"
|
||||
#include "../../../gfx/shader_common.h"
|
||||
#include "../../../driver.h"
|
||||
#include "../../../file_ext.h"
|
||||
#include "../../../input/input_common.h"
|
||||
@ -64,9 +65,11 @@ static void menu_common_entries_init(menu_handle_t *menu, unsigned menu_type)
|
||||
{
|
||||
unsigned i;
|
||||
char tmp[256];
|
||||
rarch_setting_t *current_setting;
|
||||
rarch_setting_t *current_setting = NULL;
|
||||
rarch_setting_t *setting_data = (rarch_setting_t *)setting_data_get_list();
|
||||
|
||||
(void)current_setting;
|
||||
|
||||
switch (menu_type)
|
||||
{
|
||||
#ifdef HAVE_SHADER_MANAGER
|
||||
|
@ -144,7 +144,9 @@ static void load_menu_content_prepare(void)
|
||||
|
||||
void load_menu_content_history(unsigned game_index)
|
||||
{
|
||||
const char *path, *core_path, *core_name = NULL;
|
||||
const char *path = NULL;
|
||||
const char *core_path = NULL;
|
||||
const char *core_name = NULL;
|
||||
|
||||
if (!driver.menu)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user