commit | 0815031982a0461fd4466cdcdd15d9220a93ca26 | [log] [tgz] |
---|---|---|
author | Johnny Chen <johnny.chen@apple.com> | Wed Mar 30 21:19:59 2011 +0000 |
committer | Johnny Chen <johnny.chen@apple.com> | Wed Mar 30 21:19:59 2011 +0000 |
tree | 3b36235afba3dc14f59e1f87a1aea427f021a483 | |
parent | 66b40fa01a339fa378d2c980e52b31519904306f [diff] [blame] |
A a simple test file for some lldb 'platform' commands. Add a missing result.SetStatus() stmt to the CommandObjectPlatformList::Execute() impl. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@128575 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectPlatform.cpp b/source/Commands/CommandObjectPlatform.cpp index b57a51b..42ede89 100644 --- a/source/Commands/CommandObjectPlatform.cpp +++ b/source/Commands/CommandObjectPlatform.cpp
@@ -206,6 +206,8 @@ result.AppendError ("no platforms are available\n"); result.SetStatus (eReturnStatusFailed); } + else + result.SetStatus (eReturnStatusSuccessFinishResult); return result.Succeeded(); } };