core/sal: uninitialized BochsController member
False positive, nevertheless worth fixing. Found by Coverity Scan, CID 25723. Change-Id: Ia4f1eb033d7cc8c20889280a59d8973ecf768933
This commit is contained in:
@ -18,7 +18,7 @@ bx_bool interrupt_injection_request = false;
|
|||||||
|
|
||||||
BochsController::BochsController()
|
BochsController::BochsController()
|
||||||
: SimulatorController(new BochsMemoryManager()),
|
: 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++)
|
for (unsigned i = 0; i < BX_SMP_PROCESSORS; i++)
|
||||||
addCPU(new ConcreteCPU(i));
|
addCPU(new ConcreteCPU(i));
|
||||||
|
|||||||
Reference in New Issue
Block a user