Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[MSCV] kill unused variable
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 13 Sep 2015 22:51:44 +0000 (00:51 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 13 Sep 2015 22:51:44 +0000 (00:51 +0200)
src/xbt/xbt_os_time.c

index 1027ecf..8187da1 100644 (file)
@@ -371,7 +371,6 @@ void xbt_os_threadtimer_start(xbt_os_timer_t timer)
   timer->elapse.tv_usec = 0;
   gettimeofday(&(timer->start), NULL);
 #elif defined(_XBT_WIN32)
   timer->elapse.tv_usec = 0;
   gettimeofday(&(timer->start), NULL);
 #elif defined(_XBT_WIN32)
-  struct timeval tv;
 #  if defined(WIN32_WCE) || (_WIN32_WINNT < 0x0400)
   THROW_UNIMPLEMENTED;
 #  else
 #  if defined(WIN32_WCE) || (_WIN32_WINNT < 0x0400)
   THROW_UNIMPLEMENTED;
 #  else