mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Revert "Silence some Clang static analyzer warnings"
This reverts commit 2c882a01c12cd3104964c70f95b4037fdd6dc4e5.
This commit is contained in:
parent
b24433a9f2
commit
cf4ab13281
@ -138,6 +138,7 @@ void net_http_urlencode_full(char *dest,
|
||||
char *tmp = NULL;
|
||||
char url_domain[PATH_MAX_LENGTH] = {0};
|
||||
char url_path[PATH_MAX_LENGTH] = {0};
|
||||
char url_encoded[PATH_MAX_LENGTH] = {0};
|
||||
int count = 0;
|
||||
|
||||
strlcpy (url_path, source, sizeof(url_path));
|
||||
|
@ -3282,12 +3282,15 @@ static int menu_displaylist_parse_options_remappings(
|
||||
{
|
||||
for (retro_id = 0; retro_id < RARCH_FIRST_CUSTOM_BIND; retro_id++)
|
||||
{
|
||||
unsigned user = settings->uints.keymapper_port + 1;
|
||||
unsigned desc_offset = retro_id;
|
||||
char descriptor[255];
|
||||
const struct retro_keybind *keybind = &input_config_binds[settings->uints.keymapper_port][retro_id];
|
||||
const struct retro_keybind *auto_bind = (const struct retro_keybind*)
|
||||
input_config_get_bind_auto(settings->uints.keymapper_port, retro_id);
|
||||
const struct retro_keybind *auto_bind = NULL;
|
||||
const struct retro_keybind *keybind = NULL;
|
||||
|
||||
descriptor[0] = '\0';
|
||||
keybind = &input_config_binds[settings->uints.keymapper_port][retro_id];
|
||||
auto_bind = (const struct retro_keybind*)
|
||||
input_config_get_bind_auto(settings->uints.keymapper_port, retro_id);
|
||||
|
||||
input_config_get_bind_string(descriptor,
|
||||
keybind, auto_bind, sizeof(descriptor));
|
||||
|
Loading…
x
Reference in New Issue
Block a user