Commit 2f819ec8 authored by hjk's avatar hjk

Debugger: Don't overwrite an empty env with an empty env

Needless no-op.

Change-Id: I219c6703a01269f9a95b74b4da34b362cd92f64f
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 129ea211
......@@ -569,9 +569,6 @@ void DebuggerEngine::startDebugger(DebuggerRunControl *runControl)
if (d->m_inferiorPid)
d->m_runControl->setApplicationProcessHandle(ProcessHandle(d->m_inferiorPid));
if (!d->m_runParameters.environment.size())
d->m_runParameters.environment = Utils::Environment();
if (isNativeMixedActive())
d->m_runParameters.environment.set(QLatin1String("QV4_FORCE_INTERPRETER"), QLatin1String("1"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment