DatabaseExperiment: fix uninitialized variable
Found by Coverity Scan, CID 25741. Change-Id: I6105fe76afbfe0a6ec76b59778214683d7d754e2
This commit is contained in:
@ -138,7 +138,7 @@ bool DatabaseExperiment::run()
|
||||
}
|
||||
|
||||
address_t injection_instr_absolute = fsppilot->injection_instr_absolute();
|
||||
bool found_eip;
|
||||
bool found_eip = false;
|
||||
for (int i = 0; i < BX_SMP_PROCESSORS; i++) {
|
||||
address_t eip = simulator.getCPU(i).getInstructionPointer();
|
||||
if (eip == injection_instr_absolute) {
|
||||
|
||||
Reference in New Issue
Block a user