mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 19:14:56 +00:00
Silence some warnings that popup in Xcode
This commit is contained in:
parent
5f06c5487d
commit
0c42e339e1
audio/drivers
gfx
tasks
@ -203,7 +203,9 @@ static void *coreaudio_init(const char *device,
|
||||
#endif
|
||||
AURenderCallbackStruct cb = {0};
|
||||
AudioStreamBasicDescription stream_desc = {0};
|
||||
#if TARGET_OS_IOS
|
||||
static bool session_initialized = false;
|
||||
#endif
|
||||
#if !HAS_MACOSX_10_12
|
||||
ComponentDescription desc = {0};
|
||||
#else
|
||||
|
@ -376,7 +376,7 @@ void gfx_widgets_ai_service_overlay_unload(void);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CHEEVOS
|
||||
void gfx_widgets_update_cheevos_appearance();
|
||||
void gfx_widgets_update_cheevos_appearance(void);
|
||||
void gfx_widgets_push_achievement(const char *title, const char* subtitle, const char *badge);
|
||||
void gfx_widgets_set_leaderboard_display(unsigned id, const char* value);
|
||||
void gfx_widgets_set_challenge_display(unsigned id, const char* badge);
|
||||
|
@ -2653,8 +2653,6 @@ bool video_shader_combine_preset_and_apply(
|
||||
bool ret = false;
|
||||
char combined_preset_path[PATH_MAX_LENGTH];
|
||||
char combined_preset_name[PATH_MAX_LENGTH];
|
||||
runloop_state_t *runloop_st = runloop_state_get_ptr();
|
||||
const char *current_preset_path = runloop_st->runtime_shader_preset_path;
|
||||
const char *preset_ext = video_shader_get_preset_extension(type);
|
||||
struct video_shader *shader_to_append = (struct video_shader*) calloc(1, sizeof(*shader_to_append));
|
||||
struct video_shader *combined_shader = (struct video_shader*) calloc(1, sizeof(*combined_shader));
|
||||
@ -2695,7 +2693,6 @@ bool video_shader_apply_shader(
|
||||
runloop_state_t *runloop_st = runloop_state_get_ptr();
|
||||
const char *core_name = runloop_st->system.info.library_name;
|
||||
const char *preset_file = NULL;
|
||||
const char* current_preset_path = runloop_st->runtime_shader_preset_path;
|
||||
#ifdef HAVE_MENU
|
||||
struct video_shader *shader = menu_shader_get();
|
||||
#endif
|
||||
|
@ -479,7 +479,7 @@ static void gfx_widget_achievement_popup_unfold(void* userdata)
|
||||
gfx_animation_timer_start(&state->timer, &timer);
|
||||
}
|
||||
|
||||
void gfx_widgets_update_cheevos_appearance()
|
||||
void gfx_widgets_update_cheevos_appearance(void)
|
||||
{
|
||||
gfx_widget_achievement_popup_state_t* state = &p_w_achievement_popup_st;
|
||||
const settings_t* settings = config_get_ptr();
|
||||
|
@ -784,7 +784,6 @@ static void cb_input_autoconfigure_disconnect(
|
||||
|
||||
static void input_autoconfigure_disconnect_handler(retro_task_t *task)
|
||||
{
|
||||
size_t _len;
|
||||
autoconfig_handle_t *autoconfig_handle = NULL;
|
||||
const char *device_display_name = NULL;
|
||||
char task_title[NAME_MAX_LENGTH + 16];
|
||||
|
Loading…
Reference in New Issue
Block a user