Salome HOME
#18963 Minimize compiler warnings
[modules/kernel.git] / src / DF / testDF.cxx
index 0811fa5362ceeb7c50968ad47c25ef954408d9f9..f6fb9ea8aeac5efc10bdd2788495e4df0e25c0a1 100644 (file)
@@ -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;