DebutTools: Fix variable initializations.

Codacy Warning: Variable 'variable' is assigned in constructor body. Consider performing initialization in initialization list.
This commit is contained in:
lightningterror 2022-08-24 03:44:21 +02:00
parent 313fe1ca2c
commit 6eb7f5f962
1 changed files with 1 additions and 1 deletions

View File

@ -52,11 +52,11 @@ MemCheck::MemCheck()
, cond(MEMCHECK_READWRITE) , cond(MEMCHECK_READWRITE)
, result(MEMCHECK_BOTH) , result(MEMCHECK_BOTH)
, cpu(BREAKPOINT_EE) , cpu(BREAKPOINT_EE)
, numHits(0)
, lastPC(0) , lastPC(0)
, lastAddr(0) , lastAddr(0)
, lastSize(0) , lastSize(0)
{ {
numHits = 0;
} }
void MemCheck::Log(u32 addr, bool write, int size, u32 pc) void MemCheck::Log(u32 addr, bool write, int size, u32 pc)