mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 15:13:37 +02:00
Fix some bugs and warnings from a pass of static analysis
This commit is contained in:
@@ -276,7 +276,7 @@ void WebSocketCPUGetReg(DebuggerRequest &req) {
|
||||
return;
|
||||
|
||||
int cat, reg;
|
||||
uint32_t val;
|
||||
uint32_t val = 0;
|
||||
switch (ValidateCatReg(req, &cat, ®)) {
|
||||
case DebuggerRegType::NORMAL:
|
||||
val = cpuDebug->GetRegValue(cat, reg);
|
||||
|
||||
Reference in New Issue
Block a user