offset is not used

This commit is contained in:
nothingTVatYT
2021-10-18 04:15:07 +02:00
parent 94c0dad4bc
commit ae24641e07

View File

@@ -343,7 +343,6 @@ bool LinuxFileSystem::CopyFile(const StringView& dst, const StringView& src)
char buffer[4096];
ssize_t readSize;
int cachedError;
off_t offset = 0;
srcFile = open(srcANSI.Get(), O_RDONLY);
if (srcFile < 0)