summaryrefslogtreecommitdiff
path: root/Source/Core/Core/PowerPC/Expression.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Core/PowerPC/Expression.cpp')
-rw-r--r--Source/Core/Core/PowerPC/Expression.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/Core/PowerPC/Expression.cpp b/Source/Core/Core/PowerPC/Expression.cpp
index 2fe2d8c036..79307f4460 100644
--- a/Source/Core/Core/PowerPC/Expression.cpp
+++ b/Source/Core/Core/PowerPC/Expression.cpp
@@ -115,9 +115,8 @@ static double CallstackFunc(expr_func* f, vec_expr_t* args, void* c)
std::vector<Dolphin_Debugger::CallstackEntry> stack;
{
- auto& system = Core::System::GetInstance();
- Core::CPUThreadGuard guard(system);
- bool success = Dolphin_Debugger::GetCallstack(system, guard, stack);
+ Core::CPUThreadGuard guard(Core::System::GetInstance());
+ const bool success = Dolphin_Debugger::GetCallstack(guard, stack);
if (!success)
return 0;
}