Commit 27f08d0c authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Valgrind: Remove redundant local variable



Change-Id: I8660d6ad7ed4453ed5c1e1e7ce5c7f2ca0ccec15
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@digia.com>
parent 71561832
...@@ -91,8 +91,7 @@ bool ValgrindRunControl::startEngine() ...@@ -91,8 +91,7 @@ bool ValgrindRunControl::startEngine()
ValgrindRunner *run = runner(); ValgrindRunner *run = runner();
run->setWorkingDirectory(sp.workingDirectory); run->setWorkingDirectory(sp.workingDirectory);
QString valgrindExe = m_settings->valgrindExecutable(); run->setValgrindExecutable(m_settings->valgrindExecutable());
run->setValgrindExecutable(valgrindExe);
run->setValgrindArguments(genericToolArguments() + toolArguments()); run->setValgrindArguments(genericToolArguments() + toolArguments());
run->setDebuggeeExecutable(sp.debuggee); run->setDebuggeeExecutable(sp.debuggee);
run->setDebuggeeArguments(sp.debuggeeArgs); run->setDebuggeeArguments(sp.debuggeeArgs);
......
Supports Markdown
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