forked from qt-creator/qt-creator
GccToolchain: Minor cleanup
Change-Id: I9bf2d935bf95ff45b29ebfbefd8f8aaf8e22e3ac Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
948fad02d1
commit
257bf341ca
@@ -431,7 +431,7 @@ static Utils::FileName findLocalCompiler(const Utils::FileName &compilerPath,
|
||||
&& !pathEntry.contains("distcc");
|
||||
});
|
||||
|
||||
QTC_ASSERT(path != FileName(), return compilerPath);
|
||||
QTC_ASSERT(!path.isEmpty(), return compilerPath);
|
||||
return path;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user