[Lldb-commits] [lldb] r354287 - Clean up an unused variable warning when building this for
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 18 14:10:23 PST 2019
Author: jmolenda
Date: Mon Feb 18 14:10:23 2019
New Revision: 354287
URL: http://llvm.org/viewvc/llvm-project?rev=354287&view=rev
Log:
Clean up an unused variable warning when building this for
mac native.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm
Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm?rev=354287&r1=354286&r2=354287&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm Mon Feb 18 14:10:23 2019
@@ -3918,7 +3918,10 @@ void MachProcess::CalculateBoardStatus()
if (m_pid == 0)
return;
+#if defined (WITH_FBS) || defined (WITH_BKS)
bool found_app_flavor = false;
+#endif
+
#if defined(WITH_FBS)
if (!found_app_flavor && IsFBSProcess(m_pid)) {
found_app_flavor = true;
@@ -3930,6 +3933,7 @@ void MachProcess::CalculateBoardStatus()
m_flags |= eMachProcessFlagsUsingBKS;
}
#endif
+
m_flags |= eMachProcessFlagsBoardCalculated;
}
More information about the lldb-commits
mailing list