Prevent unused variable warning

This commit is contained in:
twinaphex 2015-06-22 08:02:03 +02:00
parent bdb3cd9b1c
commit 70af1c149b

View File

@ -292,13 +292,12 @@ libretro_find_controller_description(
**/ **/
static void load_symbols(enum rarch_core_type type) static void load_symbols(enum rarch_core_type type)
{ {
settings_t *settings = config_get_ptr();
switch (type) switch (type)
{ {
case CORE_TYPE_PLAIN: case CORE_TYPE_PLAIN:
{ {
#ifdef HAVE_DYNAMIC #ifdef HAVE_DYNAMIC
settings_t *settings = config_get_ptr();
function_t sym = dylib_proc(NULL, "retro_init"); function_t sym = dylib_proc(NULL, "retro_init");
if (sym) if (sym)