mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Get rid of some implicit memsets
This commit is contained in:
parent
8250e3d521
commit
d99fac1d88
@ -3529,7 +3529,7 @@ static void menu_displaylist_parse_playlist_associations(
|
||||
{
|
||||
char path_base[PATH_MAX_LENGTH];
|
||||
char core_path[PATH_MAX_LENGTH];
|
||||
unsigned found = 0;
|
||||
unsigned found = 0;
|
||||
union string_list_elem_attr attr = {0};
|
||||
const char *path =
|
||||
path_basename(str_list->elems[i].data);
|
||||
|
@ -1895,7 +1895,7 @@ static bool setting_append_list_input_player_options(
|
||||
parent_group);
|
||||
|
||||
{
|
||||
char tmp_string[PATH_MAX_LENGTH] = {0};
|
||||
char tmp_string[PATH_MAX_LENGTH];
|
||||
/* These constants match the string lengths.
|
||||
* Keep them up to date or you'll get some really obvious bugs.
|
||||
* 2 is the length of '99'; we don't need more users than that.
|
||||
@ -1915,6 +1915,8 @@ static bool setting_append_list_input_player_options(
|
||||
static char label_bind_all_save_autoconfig[MAX_USERS][64];
|
||||
static char label_bind_defaults[MAX_USERS][64];
|
||||
|
||||
tmp_string[0] = '\0';
|
||||
|
||||
snprintf(tmp_string, sizeof(tmp_string), "input_player%u", user + 1);
|
||||
|
||||
fill_pathname_join_delim(key[user], tmp_string, "joypad_index", '_',
|
||||
|
Loading…
x
Reference in New Issue
Block a user