Qmake: Remove useless nullptr check

Change-Id: I6fe9ca620d6bac9e3cab44fb90623fa984229416
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2016-11-29 14:33:31 +01:00
parent a27003c4ea
commit 16bb89fee9

View File

@@ -1563,10 +1563,7 @@ void QmakeProject::testToolChain(ToolChain *tc, const Utils::FileName &path) con
void QmakeProject::warnOnToolChainMismatch(const QmakeProFileNode *pro) const
{
Target *t = activeTarget();
if (!t)
return;
const Target *t = activeTarget();
const BuildConfiguration *bc = t ? t->activeBuildConfiguration() : nullptr;
if (!bc)
return;