[cmake-commits] hoffman committed cmFileCommand.cxx 1.97 1.98

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Feb 6 09:47:00 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26387/Source

Modified Files:
	cmFileCommand.cxx 
Log Message:
ENH: remove debug print stuff


Index: cmFileCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFileCommand.cxx,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -d -r1.97 -r1.98
--- cmFileCommand.cxx	6 Feb 2008 14:35:02 -0000	1.97
+++ cmFileCommand.cxx	6 Feb 2008 14:46:58 -0000	1.98
@@ -1918,7 +1918,6 @@
   std::vector<std::string>::const_iterator i = args.begin();
   if(args.size() < 3)
     {
-    std::cout << args.size() << "\n";
     this->SetError("FILE(DOWNLOAD url file) must be called with "
                    "at least three arguments.");
     return false;
@@ -1971,11 +1970,6 @@
       }
     i++;
     }
-  std::cout << "log var: [" << verboseLog << "]\n"; 
-  std::cout << "Url: [" << url << "]\n";
-  std::cout << "file: [" << file << "]\n";
-  std::cout << "timeout: [" << timeout << "]\n";
-
   std::ofstream fout(file.c_str());
   if(!fout)
     {
@@ -2010,7 +2004,6 @@
     curl_easy_setopt(curl, CURLOPT_TIMEOUT, timeout ); 
     }
   CURLcode res = curl_easy_perform(curl);
-  std::cout << "res = " << res << "\n";
   /* always cleanup */
   curl_easy_cleanup(curl);
   if(statusVar.size())



More information about the Cmake-commits mailing list