diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-26 19:21:49 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-09-27 10:08:07 (GMT) |
commit | 77c6a339af39869608dcaccf578a6cdd84d2efaa (patch) | |
tree | 201c190261bf51a8933d4444d72faf207f7cd817 /Source/cmSetCommand.cxx | |
parent | 732f551187964451e922e0d95dcc21114d109f88 (diff) | |
download | CMake-77c6a339af39869608dcaccf578a6cdd84d2efaa.zip CMake-77c6a339af39869608dcaccf578a6cdd84d2efaa.tar.gz CMake-77c6a339af39869608dcaccf578a6cdd84d2efaa.tar.bz2 |
cmSetCommand: Re-use local named variable.
Diffstat (limited to 'Source/cmSetCommand.cxx')
-rw-r--r-- | Source/cmSetCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetCommand.cxx b/Source/cmSetCommand.cxx index ed36dc5..1d70ad6 100644 --- a/Source/cmSetCommand.cxx +++ b/Source/cmSetCommand.cxx @@ -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 |