Commit 257bf341 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

GccToolchain: Minor cleanup

Change-Id: I9bf2d935bf95ff45b29ebfbefd8f8aaf8e22e3ac
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 948fad02
......@@ -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;
}
......
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