diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index e6f03ec47d6..0ad08032b48 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -123,7 +123,6 @@ ToolChain::PredefinedMacrosRunner CustomToolChain::createPredefinedMacrosRunner( // This runner must be thread-safe! return [theMacros](const QStringList &cxxflags){ - QByteArray result; Macros macros = theMacros; for (const QString &cxxFlag : cxxflags) { if (cxxFlag.startsWith(QLatin1String("-D")))