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:
parent
4d892cbae9
commit
ebf2c3ad5b
@ -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 ) ) };
|
||||
|
Loading…
x
Reference in New Issue
Block a user