unneeded operation. previous line handles the null char

This commit is contained in:
Tomsic, Jason 2018-07-06 07:56:53 -04:00
parent 95ef8b0004
commit 63eaae0e1e

View file

@ -1951,7 +1951,6 @@ int fix_attributes(char *path, u32 *total, u32 is_root, u32 check_first_run)
memcpy(&path[dirLength], "/", 1);
fileLength = strlen(fno.fname);
memcpy(&path[dirLength+1], fno.fname, fileLength + 1);
path[dirLength + fileLength + 2] = 0;
// Check if archive bit is set.
if (fno.fattrib & AM_ARC)