Skip to content

Commit

Permalink
chore: remove unused variable in removeWindow (#16724)
Browse files Browse the repository at this point in the history
  • Loading branch information
trop[bot] authored and codebytere committed Feb 5, 2019
1 parent 918e3ce commit 174a39b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions atom/browser/api/atom_api_top_level_window.cc
Expand Up @@ -660,8 +660,6 @@ void TopLevelWindow::SetMenu(v8::Isolate* isolate, v8::Local<v8::Value> value) {
}

void TopLevelWindow::RemoveMenu() {
mate::Handle<Menu> menu;

menu_.Reset();
window_->SetMenu(nullptr);
}
Expand Down

0 comments on commit 174a39b

Please sign in to comment.