diff options
author | Peter Kasting <pkasting@chromium.org> | 2021-07-17 21:34:46 -0700 |
---|---|---|
committer | Openscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-07-19 22:25:03 +0000 |
commit | 0d8bd6b2f8ffde7cfc93a414e38bcc8e93f82699 (patch) | |
tree | eeaa38ed9c9950260f8106f1680aa77e0647f958 | |
parent | 1243e01d3f49e8c5e797186b62bd2ce350d808f7 (diff) | |
download | openscreen-0d8bd6b2f8ffde7cfc93a414e38bcc8e93f82699.tar.gz |
Another fix for -Wunreachable-code-aggressive.
Bug: chromium:1066980
Change-Id: Ifbf87761f101a53da746ce621fe32fd240a6ea72
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/3035958
Commit-Queue: Brandon Tolsch <btolsch@chromium.org>
Reviewed-by: Brandon Tolsch <btolsch@chromium.org>
-rw-r--r-- | osp/impl/presentation/presentation_connection.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/osp/impl/presentation/presentation_connection.cc b/osp/impl/presentation/presentation_connection.cc index 9924ed6e..4b616017 100644 --- a/osp/impl/presentation/presentation_connection.cc +++ b/osp/impl/presentation/presentation_connection.cc @@ -131,7 +131,6 @@ Error Connection::SendBinary(std::vector<uint8_t>&& data) { new (&cbor_message.message.bytes) std::vector<uint8_t>(std::move(data)); return WriteConnectionMessage(cbor_message, protocol_connection_.get()); - return Error::None(); } Error Connection::Close(CloseReason reason) { |