diff --git a/atom/browser/api/atom_api_web_contents.cc b/atom/browser/api/atom_api_web_contents.cc index 682bd3f989..ae8538775c 100644 --- a/atom/browser/api/atom_api_web_contents.cc +++ b/atom/browser/api/atom_api_web_contents.cc @@ -1296,7 +1296,6 @@ void WebContents::OpenDevTools(mate::Arguments* args) { state = "detach"; } if (args && args->Length() == 1) { - bool detach = false; mate::Dictionary options; if (args->GetNext(&options)) { options.Get("mode", &state);