Browse Source

COMP: fix compiler error

Ken Martin 20 years ago
parent
commit
370cfb037c
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 1 - 3
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -1814,11 +1814,9 @@ cmLocalUnixMakefileGenerator3
   for(std::vector<std::string>::const_iterator i = objects.begin();
       i != objects.end(); ++i)
     {
-    object.clear();
-    object += *i;
     ruleFileStream
       << " \\\n"
-      << this->ConvertToQuotedOutputPath(object.c_str());
+      << this->ConvertToQuotedOutputPath(i->c_str());
     }
   ruleFileStream
     << "\n";