(360) Silence some warnings

This commit is contained in:
twinaphex 2015-01-09 17:48:20 +01:00
parent 4bc5b57db6
commit 8fc4db23dc
3 changed files with 9 additions and 1 deletions

View File

@ -478,6 +478,9 @@ void input_get_bind_string(char *buf, const struct retro_keybind *bind,
{
char key[64], keybuf[64];
(void)key;
(void)keybuf;
*buf = '\0';
if (bind->joykey != NO_BTN)
input_get_bind_string_joykey(buf, "", bind, size);

View File

@ -363,6 +363,8 @@ static void rmenu_xui_render(void)
const char *label = NULL;
unsigned menu_type = 0;
(void)begin;
if (!driver.menu || driver.menu->need_refresh &&
g_extern.is_menu && !driver.menu->msg_force)
return;
@ -416,6 +418,8 @@ static void rmenu_xui_render(void)
unsigned type = 0, w = 0;
bool selected = false;
(void)entry_title_buf;
menu_list_get_at_offset(driver.menu->menu_list->selection_buf, i, &path,
&entry_label, &type);

View File

@ -624,6 +624,8 @@ static void check_block_hotkey(bool enable_hotkey)
*/
static inline retro_input_t input_keys_pressed(void)
{
int key;
unsigned i;
static const struct retro_keybind *binds[MAX_USERS] = {
g_settings.input.binds[0],
g_settings.input.binds[1],
@ -643,7 +645,6 @@ static inline retro_input_t input_keys_pressed(void)
g_settings.input.binds[15],
};
retro_input_t ret = 0;
int i, key;
g_extern.turbo_count++;