mirror of
https://github.com/CTCaer/hekate.git
synced 2025-08-02 22:28:49 +00:00
unneeded operation. previous line handles the null char
This commit is contained in:
parent
95ef8b0004
commit
63eaae0e1e
1 changed files with 0 additions and 1 deletions
|
@ -1951,7 +1951,6 @@ int fix_attributes(char *path, u32 *total, u32 is_root, u32 check_first_run)
|
||||||
memcpy(&path[dirLength], "/", 1);
|
memcpy(&path[dirLength], "/", 1);
|
||||||
fileLength = strlen(fno.fname);
|
fileLength = strlen(fno.fname);
|
||||||
memcpy(&path[dirLength+1], fno.fname, fileLength + 1);
|
memcpy(&path[dirLength+1], fno.fname, fileLength + 1);
|
||||||
path[dirLength + fileLength + 2] = 0;
|
|
||||||
|
|
||||||
// Check if archive bit is set.
|
// Check if archive bit is set.
|
||||||
if (fno.fattrib & AM_ARC)
|
if (fno.fattrib & AM_ARC)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue