summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Barnes <rbarnes@meta.com>2024-03-18 18:51:50 -0700
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2024-03-18 18:51:50 -0700
commitfc40165614e3aecc1475d61f895f508b28247c0d (patch)
tree52f135c709905d94d878cec7bc1a91c33cfc1e88
parent4868c10b44e8bf5174210c212b01824e29c724bf (diff)
Remove extra semi colon from internal_repo_rocksdb/repo/tools/ldb_cmd.cc
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
-rw-r--r--tools/ldb_cmd.cc2
-rw-r--r--utilities/transactions/snapshot_checker.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ldb_cmd.cc b/tools/ldb_cmd.cc
index ee2a651d8..dcc03347b 100644
--- a/tools/ldb_cmd.cc
+++ b/tools/ldb_cmd.cc
@@ -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,
diff --git a/utilities/transactions/snapshot_checker.cc b/utilities/transactions/snapshot_checker.cc
index da363a12f..fa94502cb 100644
--- a/utilities/transactions/snapshot_checker.cc
+++ b/utilities/transactions/snapshot_checker.cc
@@ -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 {