Commit 16bb89fe authored by Tobias Hunger's avatar Tobias Hunger

Qmake: Remove useless nullptr check

Change-Id: I6fe9ca620d6bac9e3cab44fb90623fa984229416
Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
parent a27003c4
...@@ -1563,10 +1563,7 @@ void QmakeProject::testToolChain(ToolChain *tc, const Utils::FileName &path) con ...@@ -1563,10 +1563,7 @@ void QmakeProject::testToolChain(ToolChain *tc, const Utils::FileName &path) con
void QmakeProject::warnOnToolChainMismatch(const QmakeProFileNode *pro) const void QmakeProject::warnOnToolChainMismatch(const QmakeProFileNode *pro) const
{ {
Target *t = activeTarget(); const Target *t = activeTarget();
if (!t)
return;
const BuildConfiguration *bc = t ? t->activeBuildConfiguration() : nullptr; const BuildConfiguration *bc = t ? t->activeBuildConfiguration() : nullptr;
if (!bc) if (!bc)
return; return;
......
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