Просмотр исходного кода

cmSetCommand: Re-use local named variable.

Stephen Kelly 10 лет назад
Родитель
Сommit
77c6a339af
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/cmSetCommand.cxx

+ 1 - 1
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