cmSetCommand: Re-use local named variable.

This commit is contained in:
Stephen Kelly
2015-09-27 12:08:07 +02:00
parent 732f551187
commit 77c6a339af
+1 -1
View File
@@ -59,7 +59,7 @@ bool cmSetCommand
// SET (VAR) // Removes the definition of VAR.
if (args.size() == 1)
{
this->Makefile->RemoveDefinition(args[0]);
this->Makefile->RemoveDefinition(variable);
return true;
}
// SET (VAR PARENT_SCOPE) // Removes the definition of VAR