From 00129255f8fba90e90b2434a5aa5e356f5cb9ca4 Mon Sep 17 00:00:00 2001 From: Reece Date: Wed, 19 Apr 2023 04:03:49 +0100 Subject: [PATCH] [*] changed this to be a soft-failure --- Source/IO/FS/FileStream.NT.cpp | 5 ----- Source/IO/FS/FileStream.Unix.cpp | 5 ----- 2 files changed, 10 deletions(-) diff --git a/Source/IO/FS/FileStream.NT.cpp b/Source/IO/FS/FileStream.NT.cpp index 382ce285..3444f705 100644 --- a/Source/IO/FS/FileStream.NT.cpp +++ b/Source/IO/FS/FileStream.NT.cpp @@ -123,11 +123,6 @@ namespace Aurora::IO::FS length -= read; } - if (!offset) - { - return false; - } - parameters.outVariable = offset; return true; } diff --git a/Source/IO/FS/FileStream.Unix.cpp b/Source/IO/FS/FileStream.Unix.cpp index c4fbd05b..79624d11 100755 --- a/Source/IO/FS/FileStream.Unix.cpp +++ b/Source/IO/FS/FileStream.Unix.cpp @@ -214,11 +214,6 @@ namespace Aurora::IO::FS length -= read; } - if (!offset) - { - return false; - } - parameters.outVariable = offset; return true; }