forked from qt-creator/qt-creator
Qmake: Remove useless nullptr check
Change-Id: I6fe9ca620d6bac9e3cab44fb90623fa984229416 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user