Skip to content

Commit

Permalink
Remove extra semi colon from internal_repo_rocksdb/repo/tools/ldb_cmd.cc
Browse files Browse the repository at this point in the history
Summary:
`-Wextra-semi` or `-Wextra-semi-stmt`

If the code compiles, this is safe to land.

Reviewed By: palmje

Differential Revision: D54362227

fbshipit-source-id: ac634ba34f9351ba559c4ed96448f51d6ef33175
  • Loading branch information
r-barnes authored and facebook-github-bot committed Mar 19, 2024
1 parent 4868c10 commit fc40165
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/ldb_cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void DumpSstFile(Options options, std::string filename, bool output_hex,

void DumpBlobFile(const std::string& filename, bool is_key_hex,
bool is_value_hex, bool dump_uncompressed_blobs);
}; // namespace
} // namespace

LDBCommand* LDBCommand::InitFromCmdLineArgs(
int argc, char const* const* argv, const Options& options,
Expand Down
2 changes: 1 addition & 1 deletion utilities/transactions/snapshot_checker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace ROCKSDB_NAMESPACE {

WritePreparedSnapshotChecker::WritePreparedSnapshotChecker(
WritePreparedTxnDB* txn_db)
: txn_db_(txn_db){};
: txn_db_(txn_db){}

SnapshotCheckerResult WritePreparedSnapshotChecker::CheckInSnapshot(
SequenceNumber sequence, SequenceNumber snapshot_sequence) const {
Expand Down

0 comments on commit fc40165

Please sign in to comment.