forked from qt-creator/qt-creator
MingwToolChain: Do not use uninitialized value
Change-Id: I0b57382e75b5cc71018009907e1b8e9bfdd5e238 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user