[Lldb-commits] [lldb] r145459 - /lldb/trunk/source/Commands/CommandObjectTarget.cpp

Johnny Chen johnny.chen at apple.com
Tue Nov 29 15:56:14 PST 2011


Author: johnny
Date: Tue Nov 29 17:56:14 2011
New Revision: 145459

URL: http://llvm.org/viewvc/llvm-project?rev=145459&view=rev
Log:
Remove possible cut-and-paste code which doesn't belong.

Modified:
    lldb/trunk/source/Commands/CommandObjectTarget.cpp

Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectTarget.cpp?rev=145459&r1=145458&r2=145459&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Tue Nov 29 17:56:14 2011
@@ -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);





More information about the lldb-commits mailing list