[Lldb-commits] [PATCH] D104379: [lldb] Remove redundant calls to set eReturnStatusFailed

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 16 06:46:21 PDT 2021


DavidSpickett added inline comments.


================
Comment at: lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp:835
     if (!error.Success()) {
       result.AppendError(error.AsCString());
-      result.SetStatus(eReturnStatusFailed);
----------------
https://reviews.llvm.org/D104380 should address calls like this one. Where we append something that could be empty.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104379/new/

https://reviews.llvm.org/D104379



More information about the lldb-commits mailing list