Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unused variables.
[simgrid.git] / examples / msg / chainsend / broadcaster.c
index 5e3819c..c0fe0d8 100644 (file)
@@ -7,7 +7,6 @@ xbt_dynar_t build_hostlist_from_hostcount(int hostcount)
 {
   xbt_dynar_t host_list = xbt_dynar_new(sizeof(char*), NULL);
   char *hostname = NULL;
-  msg_host_t h = NULL;
   int i = 1;
   
   for (; i < hostcount+1; i++) {
@@ -69,7 +68,6 @@ int broadcaster_send_file(const char *first)
 {
   const char *me = MSG_host_get_name(MSG_host_self());
   msg_task_t task = NULL;
-  msg_comm_t comm = NULL;
   int status;
 
   int piece_count = PIECE_COUNT;
@@ -77,7 +75,7 @@ int broadcaster_send_file(const char *first)
 
   for (; cur < piece_count; cur++) {
     task = task_message_data_new(me, first, NULL, 0);
-    XBT_INFO("Sending (send) from %s into mailbox %s", me, first);
+    XBT_DEBUG("Sending (send) from %s into mailbox %s", me, first);
     status = MSG_task_send(task, first);
    
     xbt_assert(status == MSG_OK, "broadcaster_send_file() failed");