diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-11-29 23:56:14 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-11-29 23:56:14 +0000 |
| commit | faa5c13d8f535c2463a9c694eafac845eaffe3ff (patch) | |
| tree | d422a2072ae89a67d449dea78831953826cac697 /lldb | |
| parent | 182b6a077edd5f1d5f412cbdc39cf17eb983c1c9 (diff) | |
| download | bcm5719-llvm-faa5c13d8f535c2463a9c694eafac845eaffe3ff.tar.gz bcm5719-llvm-faa5c13d8f535c2463a9c694eafac845eaffe3ff.zip | |
Remove possible cut-and-paste code which doesn't belong.
llvm-svn: 145459
Diffstat (limited to 'lldb')
| -rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index bbbca5e921f..3e13af0fd29 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -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); |

