Remove extra semi colon from internal_repo_rocksdb/repo/util/filelock_test.cc

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

If the code compiles, this is safe to land.

Reviewed By: palmje

Differential Revision: D55087322

fbshipit-source-id: ca4db7285444306d6c91545cd2c33483dfe05385
This commit is contained in:
Richard Barnes 2024-03-19 16:17:57 -07:00 committed by Facebook GitHub Bot
parent fc40165614
commit 6ddfa5f061
2 changed files with 2 additions and 3 deletions

View File

@ -95,7 +95,6 @@ class LockTest : public testing::Test {
// parent process
int status;
while (-1 == waitpid(pid, &status, 0)) {
;
}
if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
// child process exited with non success status

View File

@ -90,7 +90,7 @@ class TestWritableFile : public WritableFile {
const DataVerificationInfo& /*verification_info*/) override {
return PositionedAppend(data, offset);
}
bool use_direct_io() const override { return target_->use_direct_io(); };
bool use_direct_io() const override { return target_->use_direct_io(); }
uint64_t GetFileSize() final { return target_->GetFileSize(); }
private:
@ -117,7 +117,7 @@ class TestRandomRWFile : public RandomRWFile {
size_t GetRequiredBufferAlignment() const override {
return target_->GetRequiredBufferAlignment();
}
bool use_direct_io() const override { return target_->use_direct_io(); };
bool use_direct_io() const override { return target_->use_direct_io(); }
private:
std::unique_ptr<RandomRWFile> target_;