Преглед изворни кода

cmSetCommand: Re-use local named variable.

Stephen Kelly пре 10 година
родитељ
комит
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