mirror of https://github.com/facebook/rocksdb.git
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:
parent
fc40165614
commit
6ddfa5f061
|
@ -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
|
||||
|
|
|
@ -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_;
|
||||
|
|
Loading…
Reference in New Issue