diff --git a/libretro-common/samples/core_options/example_categories/libretro_core_options.h b/libretro-common/samples/core_options/example_categories/libretro_core_options.h index 4f38049ea5..f20c8977e3 100644 --- a/libretro-common/samples/core_options/example_categories/libretro_core_options.h +++ b/libretro-common/samples/core_options/example_categories/libretro_core_options.h @@ -373,8 +373,6 @@ static INLINE void libretro_set_core_options(retro_environment_t environ_cb, /* Build values string */ if (num_values > 0) { - size_t j; - buf_len += num_values - 1; buf_len += strlen(desc);