Skip to content

Commit

Permalink
Remove extra semi colon from oil/fbpkg_fuse/fs_item.cpp
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: D51995036

fbshipit-source-id: e66f8b9775b48e55c24118d5d7d455b4cf3eaca5
  • Loading branch information
r-barnes authored and facebook-github-bot committed Dec 12, 2023
1 parent cadaa83 commit bd3bcb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/oomd/engine/BasePlugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class BasePlugin {
* because it is guaranteed to be called each interval, but run() may not.
* Therefore, this function should be lightweight, i.e. no sleep() inside.
*/
virtual void prerun(OomdContext& context){};
virtual void prerun(OomdContext& context) {}

/*
* This is the main work method every plugin will implement.
Expand Down
4 changes: 2 additions & 2 deletions src/oomd/util/ScopeGuard.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ class ScopeGuard {
public:
explicit ScopeGuard(std::function<void()> fn) {
fn_ = fn;
};
}

~ScopeGuard() {
if (fn_) {
fn_();
}
};
}

private:
std::function<void()> fn_;
Expand Down

0 comments on commit bd3bcb7

Please sign in to comment.