mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-04 10:32:15 +02:00
remove redundant memset
This commit is contained in:
parent
213dde3613
commit
7522156b5f
@ -241,7 +241,6 @@ fsdev_getfspath(struct _reent *r,
|
|||||||
if(fsdev_fixpath(r, path, device) == NULL)
|
if(fsdev_fixpath(r, path, device) == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
memset(outpath, 0, FS_MAX_PATH);
|
|
||||||
memcpy(outpath, __fixedpath,FS_MAX_PATH-1);
|
memcpy(outpath, __fixedpath,FS_MAX_PATH-1);
|
||||||
outpath[FS_MAX_PATH-1] = '\0';
|
outpath[FS_MAX_PATH-1] = '\0';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user