mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Fix Xcode warnings
This commit is contained in:
parent
2e5530b531
commit
7c4fcb4960
12
dynamic.c
12
dynamic.c
@ -191,9 +191,7 @@ static bool environ_cb_get_system_info(unsigned cmd, void *data)
|
||||
break;
|
||||
case RETRO_ENVIRONMENT_SET_SUBSYSTEM_INFO:
|
||||
{
|
||||
unsigned i = 0;
|
||||
unsigned j = 0;
|
||||
unsigned size = i;
|
||||
unsigned i, j, size;
|
||||
const struct retro_subsystem_info *info =
|
||||
(const struct retro_subsystem_info*)data;
|
||||
subsystem_current_count = 0;
|
||||
@ -1516,7 +1514,7 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
{
|
||||
memcpy(hwr,
|
||||
cb, offsetof(struct retro_hw_render_callback, stencil));
|
||||
memset((uint8_t*)hwr + offsetof(struct retro_hw_render_callback, stencil),
|
||||
memset((uint8_t*)hwr + offsetof(struct retro_hw_render_callback, stencil),
|
||||
0, sizeof(*cb) - offsetof(struct retro_hw_render_callback, stencil));
|
||||
}
|
||||
else
|
||||
@ -1930,7 +1928,7 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
{
|
||||
const uint32_t supported_vfs_version = 3;
|
||||
static struct retro_vfs_interface vfs_iface =
|
||||
{
|
||||
{
|
||||
/* VFS API v1 */
|
||||
retro_vfs_file_get_path_impl,
|
||||
retro_vfs_file_open_impl,
|
||||
@ -1942,9 +1940,9 @@ bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
retro_vfs_file_write_impl,
|
||||
retro_vfs_file_flush_impl,
|
||||
retro_vfs_file_remove_impl,
|
||||
retro_vfs_file_rename_impl,
|
||||
retro_vfs_file_rename_impl,
|
||||
/* VFS API v2 */
|
||||
retro_vfs_file_truncate_impl,
|
||||
retro_vfs_file_truncate_impl,
|
||||
/* VFS API v3 */
|
||||
retro_vfs_stat_impl,
|
||||
retro_vfs_mkdir_impl,
|
||||
|
@ -36,10 +36,6 @@ static void* null_init(void **userdata, bool video_is_threaded)
|
||||
|
||||
static void null_free(void *data)
|
||||
{
|
||||
menu_handle_t *menu = (menu_handle_t*)data;
|
||||
|
||||
/*if (menu)
|
||||
free(menu);*/
|
||||
}
|
||||
|
||||
static void null_toggle(void *userdata, bool menu_on)
|
||||
|
@ -526,7 +526,6 @@ static int ozone_list_push(void *data, void *userdata,
|
||||
{
|
||||
menu_displaylist_ctx_parse_entry_t entry;
|
||||
int ret = -1;
|
||||
unsigned i = 0;
|
||||
core_info_list_t *list = NULL;
|
||||
menu_handle_t *menu = (menu_handle_t*)data;
|
||||
const struct retro_subsystem_info* subsystem;
|
||||
|
@ -5475,7 +5475,6 @@ static int xmb_list_push(void *data, void *userdata,
|
||||
{
|
||||
menu_displaylist_ctx_parse_entry_t entry;
|
||||
int ret = -1;
|
||||
unsigned i = 0;
|
||||
core_info_list_t *list = NULL;
|
||||
menu_handle_t *menu = (menu_handle_t*)data;
|
||||
const struct retro_subsystem_info* subsystem;
|
||||
|
@ -51,7 +51,6 @@ void clear_controller_port_map(void);
|
||||
|
||||
static char *get_temp_directory_alloc(void)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
char *path = NULL;
|
||||
#ifdef _WIN32
|
||||
#ifdef LEGACY_WIN32
|
||||
|
Loading…
x
Reference in New Issue
Block a user