From 42b0a35f982df2e733340bc8c3e281ee07eaa1fd Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Mon, 10 Nov 2014 16:52:48 -0800 Subject: [PATCH] mds: remove dead code from inode_t::compare() CID 1251354 Signed-off-by: Greg Farnum --- src/mds/mdstypes.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mds/mdstypes.cc b/src/mds/mdstypes.cc index f94042bad9627..119c4ec7152d9 100644 --- a/src/mds/mdstypes.cc +++ b/src/mds/mdstypes.cc @@ -436,9 +436,6 @@ int inode_t::compare(const inode_t &other, bool *divergent) const *divergent = !other.older_is_consistent(*this); return -1; } - assert(0 == "can't have reached this point"); - *divergent = true; - return 0; } bool inode_t::older_is_consistent(const inode_t &other) const -- 2.39.5