Commit 48e4b82e authored by Tobias Hunger's avatar Tobias Hunger

MingwToolChain: Do not use uninitialized value

Change-Id: I0b57382e75b5cc71018009907e1b8e9bfdd5e238
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent 18c8fefc
......@@ -1192,7 +1192,7 @@ MingwToolChainFactory::MingwToolChainFactory()
QList<ToolChain *> MingwToolChainFactory::autoDetect(const QList<ToolChain *> &alreadyKnown)
{
const Abi ha = Abi(Abi::hostAbi().architecture(), Abi::WindowsOS, Abi::WindowsMSysFlavor,
Abi::PEFormat, ha.wordWidth());
Abi::PEFormat, Abi::hostAbi().wordWidth());
return autoDetectToolchains(QLatin1String("g++"), ha, alreadyKnown);
}
......
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