gsdx: init variable in constructor

CID 168626 (#1 of 1): Uninitialized scalar field
uninit_member: Non-static class member m_end_block is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
Gregory Hainaut 2016-08-12 22:45:17 +02:00
parent 39bf84a13c
commit c41cf6c444
1 changed files with 1 additions and 0 deletions

View File

@ -1728,6 +1728,7 @@ GSTextureCache::Target::Target(GSRenderer* r, const GIFRegTEX0& TEX0, uint8* tem
, m_type(-1) , m_type(-1)
, m_used(false) , m_used(false)
, m_depth_supported(depth_supported) , m_depth_supported(depth_supported)
, m_end_block(0)
{ {
m_TEX0 = TEX0; m_TEX0 = TEX0;
m_32_bits_fmt |= (GSLocalMemory::m_psm[TEX0.PSM].trbpp != 16); m_32_bits_fmt |= (GSLocalMemory::m_psm[TEX0.PSM].trbpp != 16);