From 67581033d792249fc08dc524d905c65ccc8baf8e Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Fri, 8 Apr 2022 23:55:59 +0100 Subject: [PATCH] Remove "MpqFileRwRead beyond EOF by %u" warning It spams the debug log but is not really an error from what I understand --- Source/mpq/mpq_sdl_rwops.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/mpq/mpq_sdl_rwops.cpp b/Source/mpq/mpq_sdl_rwops.cpp index 586ef68f5..cade2cb16 100644 --- a/Source/mpq/mpq_sdl_rwops.cpp +++ b/Source/mpq/mpq_sdl_rwops.cpp @@ -105,7 +105,6 @@ static SizeType MpqFileRwRead(struct SDL_RWops *context, void *ptr, SizeType siz uint32_t blockNumber = data.position / data.blockSize; while (remainingSize > 0) { if (data.position == data.size) { - SDL_SetError("MpqFileRwRead beyond EOF by %u bytes", static_cast(remainingSize)); break; }