diff --git a/table/block_fetcher.cc b/table/block_fetcher.cc index 0637440bdcf..d24587cdff2 100644 --- a/table/block_fetcher.cc +++ b/table/block_fetcher.cc @@ -357,9 +357,6 @@ void BlockFetcher::ReadBlock(bool retry) { IOStatus BlockFetcher::ReadBlockContents() { if (TryGetUncompressBlockFromPersistentCache()) { compression_type_ = kNoCompression; -#ifndef NDEBUG - contents_->has_trailer = footer_.GetBlockTrailerSize() > 0; -#endif // NDEBUG return IOStatus::OK(); } if (TryGetFromPrefetchBuffer()) {