chd.c: fix trivial uninitialized variable (nw)

This commit is contained in:
R. Belmont 2012-02-20 14:51:09 +00:00
parent 1aed309a48
commit b25c022e00

View File

@ -295,7 +295,8 @@ inline UINT8 chd_file::bits_for_value(UINT64 value)
//------------------------------------------------- //-------------------------------------------------
chd_file::chd_file() chd_file::chd_file()
: m_file(NULL) : m_file(NULL),
m_owns_file(false)
{ {
// reset state // reset state
memset(m_decompressor, 0, sizeof(m_decompressor)); memset(m_decompressor, 0, sizeof(m_decompressor));