cmCoreTryCompile: Remove variable assignment.
The variable is not a reference, and we return in the same scope after assigning, so it has no effect.
This commit is contained in:
parent
26602cf56c
commit
2d833232a3
@ -685,8 +685,7 @@ void cmCoreTryCompile::FindOutputFile(const std::string& targetName)
|
|||||||
command += tmpOutputFile;
|
command += tmpOutputFile;
|
||||||
if(cmSystemTools::FileExists(command.c_str()))
|
if(cmSystemTools::FileExists(command.c_str()))
|
||||||
{
|
{
|
||||||
tmpOutputFile = cmSystemTools::CollapseFullPath(command);
|
this->OutputFile = cmSystemTools::CollapseFullPath(command);
|
||||||
this->OutputFile = tmpOutputFile;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user