GccToolchain: Minor cleanup

Change-Id: I9bf2d935bf95ff45b29ebfbefd8f8aaf8e22e3ac
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Orgad Shaneh
2017-07-23 09:13:26 +03:00
committed by Orgad Shaneh
parent 948fad02d1
commit 257bf341ca

View File

@@ -431,7 +431,7 @@ static Utils::FileName findLocalCompiler(const Utils::FileName &compilerPath,
&& !pathEntry.contains("distcc"); && !pathEntry.contains("distcc");
}); });
QTC_ASSERT(path != FileName(), return compilerPath); QTC_ASSERT(!path.isEmpty(), return compilerPath);
return path; return path;
} }