From a5c57fe882be4cb955e96714a0f826bf52e0043e Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sun, 5 Mar 2017 18:57:15 +0100 Subject: [PATCH] Prevent unused variable warning --- menu/menu_displaylist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 662dd8326b..c1767abfeb 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -2638,7 +2638,9 @@ static int menu_displaylist_parse_load_content_settings( if (!rarch_ctl(RARCH_CTL_IS_DUMMY_CORE, NULL)) { +#ifdef HAVE_LAKKA bool show_advanced_settings = settings->menu.show_advanced_settings; +#endif rarch_system_info_t *system = NULL; runloop_ctl(RUNLOOP_CTL_SYSTEM_INFO_GET, &system);