BUG: fix warning and shadow variable
This commit is contained in:
parent
c92c5e4e15
commit
7099db8d58
|
@ -1371,7 +1371,6 @@ void cmLocalUnixMakefileGenerator::OutputExecutableRule(std::ostream& fout,
|
||||||
if(m_UseRelativePaths)
|
if(m_UseRelativePaths)
|
||||||
{
|
{
|
||||||
cmSystemTools::ConvertToUnixSlashes(target);
|
cmSystemTools::ConvertToUnixSlashes(target);
|
||||||
bool needsLocalTarget = false;
|
|
||||||
std::string tgt = this->ConvertToMakeTarget(target.c_str());
|
std::string tgt = this->ConvertToMakeTarget(target.c_str());
|
||||||
if(tgt.find('/', 0) != tgt.npos)
|
if(tgt.find('/', 0) != tgt.npos)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue