Skip to content

Commit

Permalink
Remove extra semi colon from internal_repo_rocksdb/repo/db/table_cach…
Browse files Browse the repository at this point in the history
…e_sync_and_async.h

Summary:
`-Wextra-semi` or `-Wextra-semi-stmt`

If the code compiles, this is safe to land.

Reviewed By: palmje

Differential Revision: D54362208

fbshipit-source-id: a47acd4c794c899fccb65285b116b50d9566ea12
  • Loading branch information
r-barnes authored and facebook-github-bot committed Mar 4, 2024
1 parent ced333e commit d7b8756
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion db/table_cache_sync_and_async.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion table/block_based/block_based_table_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ struct BlockBasedTableBuilder::ParallelCompressionRep {
template <typename T>
void Fill(T&& rep) {
slot_.push(std::forward<T>(rep));
};
}
void Take(BlockRep*& rep) { slot_.pop(rep); }

private:
Expand Down
2 changes: 1 addition & 1 deletion table/block_based/block_based_table_iterator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion table/persistent_cache_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ void PersistentCacheHelper::InsertUncompressed(
cache_options.persistent_cache
->Insert(key.AsSlice(), contents.data.data(), contents.data.size())
.PermitUncheckedError();
;
}

Status PersistentCacheHelper::LookupSerialized(
Expand Down
2 changes: 1 addition & 1 deletion table/table_builder.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d7b8756

Please sign in to comment.