From beebbfe347db71ea9a23386fb7d3e09162fa7f82 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Fri, 5 Apr 2019 15:57:31 -0700 Subject: [PATCH] msg/async: resolve gcc warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit /home/pdonnell/ceph/src/msg/async/ProtocolV2.cc: In member function ‘Ct* ProtocolV2::handle_auth_signature(ceph::bufferlist&)’: /home/pdonnell/ceph/src/msg/async/ProtocolV2.cc:2259:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Signed-off-by: Patrick Donnelly --- src/msg/async/ProtocolV2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msg/async/ProtocolV2.cc b/src/msg/async/ProtocolV2.cc index 50982889465..112bbf2b21e 100644 --- a/src/msg/async/ProtocolV2.cc +++ b/src/msg/async/ProtocolV2.cc @@ -2254,7 +2254,7 @@ CtPtr ProtocolV2::handle_auth_signature(ceph::bufferlist &payload) // this happened at client side return finish_client_auth(); } else { - ceph_assert_always("state corruption" == nullptr); + ceph_abort("state corruption"); } } -- 2.39.5