mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Silenc some warnings
This commit is contained in:
parent
13a2d2419f
commit
406c8bee7b
@ -49,7 +49,7 @@ static void *rwebaudio_init(const char *device, unsigned rate, unsigned latency,
|
||||
rweb_audio_t *rwebaudio = (rweb_audio_t*)calloc(1, sizeof(rweb_audio_t));
|
||||
if (!rwebaudio)
|
||||
return NULL;
|
||||
if (RWebAudioInit(latency) == 1)
|
||||
if (RWebAudioInit(latency))
|
||||
*new_rate = RWebAudioSampleRate();
|
||||
return rwebaudio;
|
||||
}
|
||||
|
@ -73,9 +73,6 @@ void cmd_take_screenshot(void)
|
||||
static void frontend_emscripten_get_env(int *argc, char *argv[],
|
||||
void *args, void *params_data)
|
||||
{
|
||||
(void)args;
|
||||
|
||||
unsigned i;
|
||||
char base_path[PATH_MAX] = {0};
|
||||
char user_path[PATH_MAX] = {0};
|
||||
const char *home = getenv("HOME");
|
||||
|
@ -943,7 +943,7 @@ static unsigned menu_displaylist_parse_core_option_dropdown_list(
|
||||
core_option_manager_t *coreopts = NULL;
|
||||
struct core_option *option = NULL;
|
||||
const char *val = NULL;
|
||||
unsigned i, j;
|
||||
unsigned j;
|
||||
|
||||
/* Fetch options */
|
||||
rarch_ctl(RARCH_CTL_CORE_OPTIONS_LIST_GET, &coreopts);
|
||||
@ -9618,7 +9618,6 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
menu_displaylist_info_t *info,
|
||||
settings_t *settings)
|
||||
{
|
||||
size_t i;
|
||||
menu_ctx_displaylist_t disp_list;
|
||||
bool load_content = true;
|
||||
bool use_filebrowser = false;
|
||||
@ -9638,6 +9637,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type,
|
||||
case DISPLAYLIST_NETWORK_HOSTING_SETTINGS_LIST:
|
||||
#ifdef HAVE_NETWORKING
|
||||
{
|
||||
size_t i;
|
||||
bool include_everything = false;
|
||||
file_list_t *list = info->list;
|
||||
menu_displaylist_build_info_selective_t build_list[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user