Explorar el Código

ENH: remove warnings and debug statement

Bill Hoffman hace 18 años
padre
commit
66523061d0
Se han modificado 2 ficheros con 2 adiciones y 6 borrados
  1. 0 4
      Source/cmGlobalXCodeGenerator.cxx
  2. 2 2
      Source/cmLocalGenerator.cxx

+ 0 - 4
Source/cmGlobalXCodeGenerator.cxx

@@ -130,14 +130,10 @@ void cmGlobalXCodeGenerator::EnableLanguage(std::vector<std::string>const&
       mf->GetDefinition("CMAKE_OSX_SYSROOT");
   if(osxArch && sysroot)
     {
-    std::cerr <<"EnableLanguage archs\n";
     this->Architectures.clear();
     cmSystemTools::ExpandListArgument(std::string(osxArch),
                                       this->Architectures);
     }
-  else
-    std::cerr <<"no EnableLanguage archs\n";
-
 }
 
 //----------------------------------------------------------------------------

+ 2 - 2
Source/cmLocalGenerator.cxx

@@ -2400,9 +2400,9 @@ std::string cmLocalGenerator::EscapeForShell(const char* str, bool makeVars,
   return std::string(&arg[0]);
 }
 void 
-cmLocalGenerator::GetTargetObjectFileDirectories(cmTarget* target,
+cmLocalGenerator::GetTargetObjectFileDirectories(cmTarget* ,
                                                  std::vector<std::string>& 
-                                                 dirs)
+                                                 )
 {
   cmSystemTools::Error("GetTargetObjectFileDirectories called on cmLocalGenerator");
 }