Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
nobody use these structures, so I won't try to understand their purpose
[simgrid.git] / examples / msg / mc / bugged2.c
index 85af8dcb67834cc7d25caf81d370aa172f8696f9..95c08544e3a674fe6a5cefbaff78e7a172c50eac 100644 (file)
@@ -14,7 +14,8 @@ int client(int argc, char *argv[]);
 
 int server(int argc, char *argv[])
 {
-  m_task_t task1, task2;
+  m_task_t task1 = NULL;
+  m_task_t task2 = NULL;
   long val1, val2;
 
   MSG_task_receive(&task1, "mymailbox");