From c68fb134815add02d511e5f10d1dd49a1757e838 Mon Sep 17 00:00:00 2001 From: Yingxin Cheng Date: Mon, 26 Aug 2019 11:49:02 +0800 Subject: [PATCH] crimson/net: add missing return in Protocol::write_event() Signed-off-by: Yingxin Cheng --- src/crimson/net/Protocol.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/crimson/net/Protocol.cc b/src/crimson/net/Protocol.cc index ba21d726c8a..12dc5e04eb5 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); } -- 2.39.5