fix: remove unused local variables (#44815)
* chore: remove unused local non-trivial variable relaunch_executable became unused in June 2016 in0d066de5
* chore: only declare program_name local variable if used We declared it everywhere but only used it on Windows * chore: remove unused local non-trivial variable path from UnregisterXWindow it became unused in 2020 by72a08926
This commit is contained in:
parent
4a3513377c
commit
24df5f96d7
3 changed files with 1 additions and 4 deletions
|
@ -80,7 +80,6 @@ void GlobalMenuBarRegistrarX11::RegisterXWindow(x11::Window window) {
|
|||
|
||||
void GlobalMenuBarRegistrarX11::UnregisterXWindow(x11::Window window) {
|
||||
DCHECK(registrar_proxy_);
|
||||
std::string path = electron::GlobalMenuBarX11::GetPathForWindow(window);
|
||||
|
||||
ANNOTATE_SCOPED_MEMORY_LEAK; // http://crbug.com/314087
|
||||
// TODO(erg): The mozilla implementation goes to a lot of callback trouble
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue