1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 12:23:53 +00:00

No need to check if file has ended.

This commit is contained in:
Bartosz Taudul 2020-02-13 15:41:20 +01:00
parent 4d892cbae9
commit ebf2c3ad5b

View File

@ -366,8 +366,6 @@ private:
}
void ReadBlock( uint32_t sz )
{
if( m_dataOffset < m_dataSize )
{
if( m_stream )
{
@ -384,11 +382,6 @@ private:
m_lastBlock = out.pos;
}
}
else
{
m_lastBlock = 0;
}
}
enum { BufSize = 64 * 1024 };
enum { LZ4Size = std::max( LZ4_COMPRESSBOUND( BufSize ), ZSTD_COMPRESSBOUND( BufSize ) ) };