Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sed -i -e 's/\t/ /g' *.[ch] Please people, stop using tabs in your source
[simgrid.git] / examples / msg / io / file.c
index 729d64e..ed8e91a 100644 (file)
@@ -34,7 +34,7 @@ int host(int argc, char *argv[])
 {
   msg_file_t file = NULL;
   s_msg_stat_t stat;
-  void *ptr;
+  void *ptr = NULL;
   char* mount = bprintf("/home");
   size_t read,write;