Rename option_k local variables

This commit is contained in:
twinaphex 2015-01-12 17:16:14 +01:00
parent 63e2eab86b
commit a3dc6203b2
2 changed files with 6 additions and 6 deletions

View File

@ -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);
}

View File

@ -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);
}