diff --git a/db/table_cache_sync_and_async.h b/db/table_cache_sync_and_async.h index 8ff03ec5015..a06b7d43164 100644 --- a/db/table_cache_sync_and_async.h +++ b/db/table_cache_sync_and_async.h @@ -103,7 +103,6 @@ DEFINE_SYNC_AND_ASYNC(Status, TableCache::MultiGet) ++miter) { std::string& row_cache_entry = row_cache_entries[row_idx++]; const Slice& user_key = miter->ukey_with_ts; - ; GetContext* get_context = miter->get_context; get_context->SetReplayLog(nullptr); diff --git a/table/block_based/block_based_table_builder.cc b/table/block_based/block_based_table_builder.cc index 7640e8fc27f..3f80c2d4fcc 100644 --- a/table/block_based/block_based_table_builder.cc +++ b/table/block_based/block_based_table_builder.cc @@ -707,7 +707,7 @@ struct BlockBasedTableBuilder::ParallelCompressionRep { template void Fill(T&& rep) { slot_.push(std::forward(rep)); - }; + } void Take(BlockRep*& rep) { slot_.pop(rep); } private: diff --git a/table/block_based/block_based_table_iterator.cc b/table/block_based/block_based_table_iterator.cc index 6a81acbeb6d..3e2f4cc16fb 100644 --- a/table/block_based/block_based_table_iterator.cc +++ b/table/block_based/block_based_table_iterator.cc @@ -846,7 +846,7 @@ void BlockBasedTableIterator::BlockCacheLookupForReadAheadSize( } index_iter_->Next(); is_index_at_curr_block_ = false; - }; + } if (found_first_miss_block) { // Iterate cache hit block handles from the end till a Miss is there, to diff --git a/table/persistent_cache_helper.cc b/table/persistent_cache_helper.cc index eece8100e6c..0d61c1031d9 100644 --- a/table/persistent_cache_helper.cc +++ b/table/persistent_cache_helper.cc @@ -40,7 +40,6 @@ void PersistentCacheHelper::InsertUncompressed( cache_options.persistent_cache ->Insert(key.AsSlice(), contents.data.data(), contents.data.size()) .PermitUncheckedError(); - ; } Status PersistentCacheHelper::LookupSerialized( diff --git a/table/table_builder.h b/table/table_builder.h index f5525315f3f..b2866c25b21 100644 --- a/table/table_builder.h +++ b/table/table_builder.h @@ -232,7 +232,7 @@ class TableBuilder { // enforced state (ready to encode to string). virtual void SetSeqnoTimeTableProperties( const SeqnoToTimeMapping& /*relevant_mapping*/, - uint64_t /*oldest_ancestor_time*/){}; + uint64_t /*oldest_ancestor_time*/){} }; } // namespace ROCKSDB_NAMESPACE