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-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F27414%2Fhead;p=ceph.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 509828894654..112bbf2b21e4 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"); } }