From: Patrick Donnelly Date: Fri, 5 Apr 2019 22:57:31 +0000 (-0700) Subject: msg/async: resolve gcc warning X-Git-Tag: v15.1.0~2997^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=beebbfe347db71ea9a23386fb7d3e09162fa7f82;p=ceph-ci.git msg/async: resolve gcc warning /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 --- 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"); } }