mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: remove unused variable in removeWindow (#16724)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user