mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
NULL termination already happens in strlcpy
This commit is contained in:
parent
13b5ec4b1a
commit
4c4bec11f7
@ -787,10 +787,6 @@ bool patch_content(
|
||||
* for subsequent patches starts at 1 */
|
||||
size_t patch_index = 1;
|
||||
|
||||
name_ips_indexed[0] = '\0';
|
||||
name_bps_indexed[0] = '\0';
|
||||
name_ups_indexed[0] = '\0';
|
||||
|
||||
strlcpy(name_ips_indexed, name_ips, (name_ips_len + 1) * sizeof(char));
|
||||
strlcpy(name_bps_indexed, name_bps, (name_bps_len + 1) * sizeof(char));
|
||||
strlcpy(name_ups_indexed, name_ups, (name_ups_len + 1) * sizeof(char));
|
||||
|
Loading…
x
Reference in New Issue
Block a user