Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Improve debug messages
[simgrid.git] / examples / msg / tracing / categories.c
index 400de0af7c9d096ceabb4f9e255f7afb2c081976..08d4b3b42ea207953b3d52511d66debd9a0b4e59 100644 (file)
@@ -56,10 +56,9 @@ int master(int argc, char *argv[])
 int slave(int argc, char *argv[])
 {
   m_task_t task = NULL;
-  int res;
 
   while (1) {
-    res = MSG_task_receive(&(task), "master_mailbox");
+    MSG_task_receive(&(task), "master_mailbox");
 
     if (!strcmp(MSG_task_get_name(task), "finalize")) {
       MSG_task_destroy(task);