DBIter::FindValueForCurrentKey: remove unused Status s (#11394)

Summary:
This PR remove a historical useless code

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11394

Reviewed By: ajkr

Differential Revision: D45506226

Pulled By: akankshamahajan15

fbshipit-source-id: 32c98627100c9ad131bf65c4a1fe97ab61502daf
oxigraph-8.3.2
leipeng 2 years ago committed by Facebook GitHub Bot
parent 03a892a9fb
commit a475e9f746
  1. 8
      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<unsigned int>(last_key_entry_type)));
return false;
}
if (!s.ok()) {
valid_ = false;
status_ = s;
return false;
}
valid_ = true;
return true;
}

Loading…
Cancel
Save