mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
Rename option_k local variables
This commit is contained in:
parent
63e2eab86b
commit
a3dc6203b2
@ -104,16 +104,16 @@ void find_next_resampler_driver(void)
|
||||
const char* config_get_audio_resampler_driver_options(void)
|
||||
{
|
||||
union string_list_elem_attr attr;
|
||||
unsigned i;
|
||||
char *options = NULL;
|
||||
int option_k = 0;
|
||||
int options_len = 0;
|
||||
struct string_list *options_l = string_list_new();
|
||||
|
||||
attr.i = 0;
|
||||
|
||||
for (option_k = 0; resampler_drivers[option_k]; option_k++)
|
||||
for (i = 0; resampler_drivers[i]; i++)
|
||||
{
|
||||
const char *opt = resampler_drivers[option_k]->ident;
|
||||
const char *opt = resampler_drivers[i]->ident;
|
||||
options_len += strlen(opt) + 1;
|
||||
string_list_append(options_l, opt, attr);
|
||||
}
|
||||
|
@ -81,16 +81,16 @@ rarch_joypad_driver_t *joypad_drivers[] = {
|
||||
const char* config_get_joypad_driver_options(void)
|
||||
{
|
||||
union string_list_elem_attr attr;
|
||||
unsigned i;
|
||||
char *options = NULL;
|
||||
int option_k = 0;
|
||||
int options_len = 0;
|
||||
struct string_list *options_l = string_list_new();
|
||||
|
||||
attr.i = 0;
|
||||
|
||||
for (option_k = 0; joypad_drivers[option_k]; option_k++)
|
||||
for (i = 0; joypad_drivers[i]; i++)
|
||||
{
|
||||
const char *opt = joypad_drivers[option_k]->ident;
|
||||
const char *opt = joypad_drivers[i]->ident;
|
||||
options_len += strlen(opt) + 1;
|
||||
string_list_append(options_l, opt, attr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user