From: Yingxin Cheng Date: Mon, 26 Aug 2019 03:49:02 +0000 (+0800) Subject: crimson/net: add missing return in Protocol::write_event() X-Git-Tag: v15.1.0~1675^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c68fb134815add02d511e5f10d1dd49a1757e838;p=ceph.git crimson/net: add missing return in Protocol::write_event() Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/net/Protocol.cc b/src/crimson/net/Protocol.cc index ba21d726c8a8..12dc5e04eb57 100644 --- a/src/crimson/net/Protocol.cc +++ b/src/crimson/net/Protocol.cc @@ -283,6 +283,7 @@ void Protocol::write_event() return; case write_state_t::drop: write_dispatching = false; + return; default: ceph_assert(false); }