mirror of
https://github.com/electron/electron.git
synced 2026-01-29 01:08:18 -05:00
fix: remove unused variable
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user