From: Samuel Lepetit Date: Wed, 13 Jun 2012 13:31:48 +0000 (+0200) Subject: Bugfix in msg/io example X-Git-Tag: v3_8~631 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a6f00a784a0d052de2001804276ceee8e43a6334?ds=sidebyside Bugfix in msg/io example --- diff --git a/examples/msg/io/file.c b/examples/msg/io/file.c index 729d64e8e6..ed8e91ad8a 100644 --- a/examples/msg/io/file.c +++ b/examples/msg/io/file.c @@ -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;