Skip to content

Commit

Permalink
Remove extra semi colon from instagram/ranking/mezql/shots/parser/fas…
Browse files Browse the repository at this point in the history
…t/Token.cpp

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

If the code compiles, this is safe to land.

Reviewed By: palmje

Differential Revision: D54362213

fbshipit-source-id: 0bbc9e5fce917fc4f72423f0a4c8cb2c2b1759dd
  • Loading branch information
r-barnes authored and facebook-github-bot committed Mar 4, 2024
1 parent 9653649 commit ced333e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cache/compressed_secondary_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ const Cache::CacheItemHelper* CompressedSecondaryCache::GetHelper(
chunks_head = chunks_head->next;
tmp_chunk->Free();
obj = nullptr;
};
}
}};
return &kHelper;
} else {
Expand Down
2 changes: 1 addition & 1 deletion db/log_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Reader::Reader(std::shared_ptr<Logger> info_log,
compression_type_record_read_(false),
uncompress_(nullptr),
hash_state_(nullptr),
uncompress_hash_state_(nullptr){};
uncompress_hash_state_(nullptr){}

Reader::~Reader() {
delete[] backing_store_;
Expand Down
2 changes: 1 addition & 1 deletion db/periodic_task_scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Status PeriodicTaskScheduler::Register(PeriodicTaskType task_type,
task_type, TaskInfo{unique_id, repeat_period_seconds});
if (!result.second) {
return Status::Aborted("Failed to add periodic task");
};
}
return Status::OK();
}

Expand Down

0 comments on commit ced333e

Please sign in to comment.