Silence warnings

This commit is contained in:
Twinaphex 2020-02-21 20:40:23 +01:00
parent d3e62c62f2
commit 22dda9f398
2 changed files with 4 additions and 0 deletions

View File

@ -997,7 +997,9 @@ static void rcheevos_test_richpresence(void)
settings_t *settings = config_get_ptr();
const char *cheevos_username = settings->arrays.cheevos_username;
bool cheevos_richpresence_enable = settings->bools.cheevos_richpresence_enable;
#ifdef HAVE_DISCORD
bool discord_enable = settings->bools.discord_enable;
#endif
if (cheevos_richpresence_enable)
{

View File

@ -6142,7 +6142,9 @@ static int xmb_list_push(void *data, void *userdata,
bool menu_show_information = settings->bools.menu_show_information;
bool menu_show_help = settings->bools.menu_show_help;
bool kiosk_mode_enable = settings->bools.kiosk_mode_enable;
#ifdef HAVE_QT
bool desktop_menu_enable = settings->bools.desktop_menu_enable;
#endif
bool menu_show_online_updater = settings->bools.menu_show_online_updater;
bool menu_content_show_settings = settings->bools.menu_content_show_settings;
const char *menu_content_show_settings_password =