mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(OSX) Silence warnings
This commit is contained in:
parent
03381da506
commit
052137b027
@ -877,7 +877,10 @@ end:
|
||||
#elif defined(__MACH__)
|
||||
if (!name)
|
||||
return;
|
||||
sysctlbyname("machdep.cpu.brand_string", name, &len, NULL, 0);
|
||||
{
|
||||
size_t len_size = len;
|
||||
sysctlbyname("machdep.cpu.brand_string", name, &len_size, NULL, 0);
|
||||
}
|
||||
#else
|
||||
if (!name)
|
||||
return;
|
||||
|
@ -371,7 +371,6 @@ unsigned ozone_count_lines(const char *str)
|
||||
|
||||
static void ozone_update_thumbnail_path(void *data, unsigned i, char pos)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
ozone_handle_t *ozone = (ozone_handle_t*)data;
|
||||
const char *core_name = NULL;
|
||||
|
||||
@ -2169,8 +2168,6 @@ static int ozone_pointer_tap(void *userdata,
|
||||
menu_file_list_cbs_t *cbs,
|
||||
menu_entry_t *entry, unsigned action)
|
||||
{
|
||||
ozone_handle_t *ozone = (ozone_handle_t*) userdata;
|
||||
|
||||
size_t selection = menu_navigation_get_selection();
|
||||
if (ptr == selection && cbs && cbs->action_select)
|
||||
return (unsigned)menu_entry_action(entry, (unsigned)selection, MENU_ACTION_SELECT);
|
||||
|
@ -1272,7 +1272,6 @@ static int menu_displaylist_parse_playlist(menu_displaylist_info_t *info,
|
||||
playlist_t *playlist, const char *path_playlist, bool is_collection)
|
||||
{
|
||||
unsigned i;
|
||||
size_t selection = menu_navigation_get_selection();
|
||||
size_t list_size = playlist_size(playlist);
|
||||
settings_t *settings = config_get_ptr();
|
||||
bool is_rgui = string_is_equal(settings->arrays.menu_driver, "rgui");
|
||||
|
Loading…
x
Reference in New Issue
Block a user