cmSetCommand: Re-use local named variable.
This commit is contained in:
parent
732f551187
commit
77c6a339af
@ -59,7 +59,7 @@ bool cmSetCommand
|
|||||||
// SET (VAR) // Removes the definition of VAR.
|
// SET (VAR) // Removes the definition of VAR.
|
||||||
if (args.size() == 1)
|
if (args.size() == 1)
|
||||||
{
|
{
|
||||||
this->Makefile->RemoveDefinition(args[0]);
|
this->Makefile->RemoveDefinition(variable);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// SET (VAR PARENT_SCOPE) // Removes the definition of VAR
|
// SET (VAR PARENT_SCOPE) // Removes the definition of VAR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user