Salome HOME
Fix bug in test on 24 cores CPU test
[modules/kernel.git] / src / DF / testDF.cxx
index 67363f52baa0ba42468a6ef02b6a66763a75dedb..6dd1ed683c972a9e450739a4da9902551cfb7821 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -72,9 +72,8 @@ void GetSystemDate(int& year, int& month, int& day, int& hours, int& minutes, in
   struct tm transfert;
   struct timeval tval;
   struct timezone tzone;
-  int status;
-
-  status = gettimeofday( &tval, &tzone );
+  
+  gettimeofday( &tval, &tzone );
   memcpy(&transfert, localtime((time_t *)&tval.tv_sec), sizeof(tm));
   
   month    = transfert.tm_mon + 1;
@@ -185,7 +184,7 @@ std::vector<std::string> splitString(const std::string& theValue, char separator
 }
 
 
-int main (int argc, char * argv[])
+int main ()
 {
   std::cout << "Test started " << std::endl;