Remove possible cut-and-paste code which doesn't belong.

llvm-svn: 145459
This commit is contained in:
Johnny Chen 2011-11-29 23:56:14 +00:00
parent 182b6a077e
commit faa5c13d8f
1 changed files with 1 additions and 7 deletions

View File

@ -3991,13 +3991,7 @@ public:
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);