mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Silence warnings
This commit is contained in:
parent
926ba5c843
commit
dcd89f4280
@ -7324,7 +7324,6 @@ static int action_ok_push_dropdown_item_input_device_type(const char *path,
|
||||
static int action_ok_push_dropdown_item_input_select_reserved_device(const char *path,
|
||||
const char *label, unsigned type, size_t idx, size_t entry_idx)
|
||||
{
|
||||
char* device;
|
||||
const char *no_device;
|
||||
const char *reserved_device_name;
|
||||
enum msg_hash_enums enum_idx;
|
||||
|
@ -536,9 +536,6 @@ static int menu_displaylist_parse_core_info(
|
||||
const char *savestate_support = NULL;
|
||||
runloop_state_t *runloop_st = runloop_state_get_ptr();
|
||||
bool kiosk_mode_enable = settings->bools.kiosk_mode_enable;
|
||||
#if defined(HAVE_NETWORKING) && defined(HAVE_ONLINE_UPDATER)
|
||||
bool menu_show_core_updater = settings->bools.menu_show_core_updater;
|
||||
#endif
|
||||
#if defined(HAVE_DYNAMIC)
|
||||
enum menu_contentless_cores_display_type
|
||||
contentless_display_type = (enum menu_contentless_cores_display_type)
|
||||
@ -998,7 +995,7 @@ end:
|
||||
* up in a situation where a core cannot be
|
||||
* restored */
|
||||
#if defined(HAVE_NETWORKING) && defined(HAVE_ONLINE_UPDATER)
|
||||
if (menu_show_core_updater && !core_locked)
|
||||
if (settings->bools.menu_show_core_updater && !core_locked)
|
||||
if (menu_entries_append(list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_CORE_DELETE),
|
||||
core_path,
|
||||
@ -1136,7 +1133,6 @@ static unsigned menu_displaylist_parse_core_manager_list(file_list_t *list,
|
||||
{
|
||||
unsigned count = 0;
|
||||
core_info_list_t *core_info_list = NULL;
|
||||
bool kiosk_mode_enable = settings->bools.kiosk_mode_enable;
|
||||
|
||||
/* Get core list */
|
||||
core_info_get_list(&core_info_list);
|
||||
@ -1198,7 +1194,7 @@ static unsigned menu_displaylist_parse_core_manager_list(file_list_t *list,
|
||||
|
||||
#ifndef IOS
|
||||
/* Add 'sideload core' entry */
|
||||
if (!kiosk_mode_enable)
|
||||
if (!settings->bools.kiosk_mode_enable)
|
||||
if (menu_entries_append(list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_SIDELOAD_CORE_LIST),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_SIDELOAD_CORE_LIST),
|
||||
@ -5566,7 +5562,7 @@ static int menu_displaylist_parse_input_select_reserved_device_list(
|
||||
file_list_t *info_list, const char *info_path,
|
||||
settings_t *settings)
|
||||
{
|
||||
char device_label[128];
|
||||
char device_label[256];
|
||||
const char *val_disabled = NULL;
|
||||
enum msg_hash_enums enum_idx = (enum msg_hash_enums)atoi(info_path);
|
||||
struct menu_state *menu_st = menu_state_get_ptr();
|
||||
|
@ -8154,7 +8154,6 @@ static void setting_get_string_representation_input_device_reserved_device_name(
|
||||
rarch_setting_t *setting,
|
||||
char *s, size_t len)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
int dev_vendor_id;
|
||||
int dev_product_id;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user