diff --git a/db/db_iter.cc b/db/db_iter.cc index efa5746ff..3d980c878 100644 --- a/db/db_iter.cc +++ b/db/db_iter.cc @@ -964,9 +964,6 @@ bool DBIter::FindValueForCurrentKey() { assert(last_key_entry_type == ikey_.type); } - Status s; - s.PermitUncheckedError(); - switch (last_key_entry_type) { case kTypeDeletion: case kTypeDeletionWithTimestamp: @@ -1043,11 +1040,6 @@ bool DBIter::FindValueForCurrentKey() { std::to_string(static_cast(last_key_entry_type))); return false; } - if (!s.ok()) { - valid_ = false; - status_ = s; - return false; - } valid_ = true; return true; }