]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/net: add missing return in Protocol::write_event()
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 26 Aug 2019 03:49:02 +0000 (11:49 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 28 Aug 2019 02:16:39 +0000 (10:16 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/net/Protocol.cc

index ba21d726c8a8996003475379d2554c947622ca3a..12dc5e04eb57145a543e08655516d17509e6778b 100644 (file)
@@ -283,6 +283,7 @@ void Protocol::write_event()
     return;
    case write_state_t::drop:
     write_dispatching = false;
+    return;
    default:
     ceph_assert(false);
   }