mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
COMP: Fix shadowed local variable warning.
This commit is contained in:
@@ -159,12 +159,14 @@ bool cmAddCustomTargetCommand
|
||||
}
|
||||
|
||||
// Enforce name uniqueness.
|
||||
{
|
||||
std::string msg;
|
||||
if(!this->Makefile->EnforceUniqueName(args[0], msg))
|
||||
{
|
||||
this->SetError(msg.c_str());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// Add the utility target to the makefile.
|
||||
bool escapeOldStyle = !verbatim;
|
||||
|
||||
Reference in New Issue
Block a user