From ae24641e07d5ea6711dba434255137557addacf1 Mon Sep 17 00:00:00 2001 From: nothingTVatYT Date: Mon, 18 Oct 2021 04:15:07 +0200 Subject: [PATCH] offset is not used --- Source/Engine/Platform/Linux/LinuxFileSystem.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Engine/Platform/Linux/LinuxFileSystem.cpp b/Source/Engine/Platform/Linux/LinuxFileSystem.cpp index 14412a10b..79522495c 100644 --- a/Source/Engine/Platform/Linux/LinuxFileSystem.cpp +++ b/Source/Engine/Platform/Linux/LinuxFileSystem.cpp @@ -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)