Skip to content

Commit

Permalink
chore: remove unused variable in removeWindow (#16715)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed Feb 4, 2019
1 parent a9991f5 commit f142aae
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 f142aae

Please sign in to comment.