Skip to content
Snippets Groups Projects
Commit 16bb89fe authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qmake: Remove useless nullptr check


Change-Id: I6fe9ca620d6bac9e3cab44fb90623fa984229416
Reviewed-by: default avatarTim Jenssen <tim.jenssen@qt.io>
parent a27003c4
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment