From: suter Date: Fri, 11 Apr 2014 17:04:45 +0000 (+0200) Subject: initialize this storage with NULL X-Git-Tag: v3_11~120^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/97f2f7fb31b2b7b9505aab5e4c0ea65bdb4ac7f3 initialize this storage with NULL --- diff --git a/examples/msg/io/storage.c b/examples/msg/io/storage.c index d76fe2c39a..05f14d1094 100644 --- a/examples/msg/io/storage.c +++ b/examples/msg/io/storage.c @@ -33,7 +33,7 @@ static int host(int argc, char *argv[]){ xbt_dict_cursor_t cursor = NULL; char* mount_name; char* storage_name; - msg_storage_t storage; + msg_storage_t storage = NULL; // Retrieve all mount points of current host xbt_dict_t storage_list = MSG_host_get_mounted_storage_list(MSG_host_self());