fix a few warnings

This commit is contained in:
Erwin Coumans
2017-01-24 08:36:46 -08:00
parent 7e22e225a3
commit 95e25d9942
2 changed files with 4 additions and 2 deletions

View File

@@ -287,7 +287,8 @@ struct CommandLogPlayback
m_file = fopen(fileName,"rb");
if (m_file)
{
fread(m_header,12,1,m_file);
size_t bytesRead;
bytesRead = fread(m_header,12,1,m_file);
}
unsigned char c = m_header[7];
m_fileIs64bit = (c=='-');