Remove possible cut-and-paste code which doesn't belong.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145459 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectTarget.cpp b/source/Commands/CommandObjectTarget.cpp
index bbbca5e..3e13af0 100644
--- a/source/Commands/CommandObjectTarget.cpp
+++ b/source/Commands/CommandObjectTarget.cpp
@@ -3991,13 +3991,7 @@
CommandReturnObject &result)
{
Target *target = m_interpreter.GetDebugger().GetSelectedTarget().get();
- if (target)
- {
- bool notify = true;
- target->GetImageSearchPathList().Clear(notify);
- result.SetStatus (eReturnStatusSuccessFinishNoResult);
- }
- else
+ if (!target)
{
result.AppendError ("invalid target\n");
result.SetStatus (eReturnStatusFailed);