commit | d1ca56c8cd410cdf496d22470fca461ad71dfd34 | [log] [tgz] |
---|---|---|
author | Adrien Larbanet <adrienl@google.com> | Thu Jun 10 14:20:45 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 16 18:43:40 2021 +0000 |
tree | 07326d20e8641110a17fc8184d00ca93629fda9c | |
parent | 2031ac0f8d8ad656ef3281de3a44b432b7a2a7bd [diff] [blame] |
overall: Adding `IgnoreError()` where Status was discarded Bug: 387 Change-Id: I720b7a99a1c7a24eb8e2554629529d1e24394cb1 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/49041 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Keir Mierle <keir@google.com>
diff --git a/pw_assert_basic/basic_handler.cc b/pw_assert_basic/basic_handler.cc index 24262d4..be87baa 100644 --- a/pw_assert_basic/basic_handler.cc +++ b/pw_assert_basic/basic_handler.cc
@@ -79,7 +79,10 @@ " ", }; -using pw::sys_io::WriteLine; +static void WriteLine(const std::string_view& s) { + pw::sys_io::WriteLine(s) + .IgnoreError(); // TODO(pwbug/387): Handle Status properly +} typedef pw::StringBuffer<150> Buffer;