Browse Source

Remove "MpqFileRwRead beyond EOF by %u" warning

It spams the debug log but is not really an error from what I understand
pull/4373/head
Gleb Mazovetskiy 4 years ago committed by Anders Jenbo
parent
commit
67581033d7
  1. 1
      Source/mpq/mpq_sdl_rwops.cpp

1
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<unsigned>(remainingSize));
break;
}

Loading…
Cancel
Save