core/sal: uninitialized BochsController member

False positive, nevertheless worth fixing.  Found by Coverity Scan,
CID 25723.

Change-Id: Ia4f1eb033d7cc8c20889280a59d8973ecf768933
This commit is contained in:
Horst Schirmeier
2015-02-07 15:21:54 +01:00
parent 61038c2578
commit a7184af37b

View File

@ -18,7 +18,7 @@ bx_bool interrupt_injection_request = false;
BochsController::BochsController()
: SimulatorController(new BochsMemoryManager()),
m_CPUContext(NULL), m_CurrentInstruction(NULL)
m_CurrFlow(NULL), m_CPUContext(NULL), m_CurrentInstruction(NULL)
{
for (unsigned i = 0; i < BX_SMP_PROCESSORS; i++)
addCPU(new ConcreteCPU(i));