From 1eaa96286427c2d3f3ea2093e3210554be535c22 Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Mon, 5 Sep 2022 01:33:09 +0200 Subject: [PATCH] Libretro_dipswitch - unused variable --- src/drivers/libretro/libretro_dipswitch.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/drivers/libretro/libretro_dipswitch.c b/src/drivers/libretro/libretro_dipswitch.c index 7346309..49b2898 100644 --- a/src/drivers/libretro/libretro_dipswitch.c +++ b/src/drivers/libretro/libretro_dipswitch.c @@ -1101,10 +1101,9 @@ static void make_core_options(struct retro_core_option_v2_definition *vs_core_op for (i = 0; i < numCoreOptions; i++) { - struct retro_core_option_value vars_empty = { NULL, NULL }; - const char *game_name = vsgame->game_name; + const char *game_name = vsgame->game_name; const char *option_name = vsgame->core_options[i].option_name; - char key[100] = {0}; + char key[100] = {0}; memset(&vs_core_options[i], 0, sizeof(struct retro_core_option_v2_definition));