Fix warning

This was SVN commit r10448.
This commit is contained in:
Ykkrosh 2011-10-28 13:16:53 +00:00
parent 05d7742ec8
commit f31a8f7181

View File

@ -54,6 +54,8 @@ void CStdDeserializer::Get(const char* name, u8* data, size_t len)
strName += c;
}
ENSURE(strName == name);
#else
UNUSED2(name);
#endif
m_Stream.read((char*)data, (std::streamsize)len);
if (!m_Stream.good()) // hit eof before len, or other errors