[Lldb-commits] [lldb] r256724 - Remove unused variable
Ed Maste via lldb-commits
lldb-commits at lists.llvm.org
Sun Jan 3 18:10:23 PST 2016
Author: emaste
Date: Sun Jan 3 20:10:22 2016
New Revision: 256724
URL: http://llvm.org/viewvc/llvm-project?rev=256724&view=rev
Log:
Remove unused variable
Obtained from FreeBSD r292611
Modified:
lldb/trunk/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.cpp
Modified: lldb/trunk/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.cpp?rev=256724&r1=256723&r2=256724&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.cpp (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/RegisterContextPOSIXProcessMonitor_arm64.cpp Sun Jan 3 20:10:22 2016
@@ -260,9 +260,7 @@ RegisterContextPOSIXProcessMonitor_arm64
bool
RegisterContextPOSIXProcessMonitor_arm64::UpdateAfterBreakpoint()
{
- lldb::addr_t pc;
-
- if ((pc = GetPC()) == LLDB_INVALID_ADDRESS)
+ if (GetPC() == LLDB_INVALID_ADDRESS)
return false;
return true;
More information about the lldb-commits
mailing list