chore: remove unused process_type variable (#13823)

This commit is contained in:
Jeremy Apthorp 2018-07-26 23:25:54 -07:00 committed by Shelley Vohr
parent 7ed9a88277
commit 9af9634f7d

View file

@ -131,8 +131,6 @@ void AtomMainDelegate::PreSandboxStartup() {
brightray::MainDelegate::PreSandboxStartup(); brightray::MainDelegate::PreSandboxStartup();
auto* command_line = base::CommandLine::ForCurrentProcess(); auto* command_line = base::CommandLine::ForCurrentProcess();
std::string process_type =
command_line->GetSwitchValueASCII(::switches::kProcessType);
// Only append arguments for browser process. // Only append arguments for browser process.
if (!IsBrowserProcess(command_line)) if (!IsBrowserProcess(command_line))