Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unused variable
[simgrid.git] / examples / msg / gtnets / gtnets.c
index 93ce019..18c1b74 100644 (file)
@@ -45,7 +45,6 @@ int master(int argc, char *argv[])
   char *slavename = NULL;
   double task_comm_size = 0;
   m_task_t todo;
-  m_host_t slave;
   char id_alias[10];
   //unique id to control statistics
   int id = -1;
@@ -77,10 +76,6 @@ int master(int argc, char *argv[])
     gl_data_size[id] = task_comm_size;
   }
 
-  {                             /* Process organisation */
-    slave = MSG_get_host_by_name(slavename);
-  }
-
   count_finished++;
 
   /* time measurement */