cmSetCommand: Re-use local named variable.

This commit is contained in:
Stephen Kelly 2015-09-26 21:21:49 +02:00
parent 732f551187
commit 77c6a339af

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