Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
initialize this storage with NULL
authorsuter <frederic.suter@cc.in2p3.fr>
Fri, 11 Apr 2014 17:04:45 +0000 (19:04 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Fri, 11 Apr 2014 17:04:45 +0000 (19:04 +0200)
examples/msg/io/storage.c

index d76fe2c..05f14d1 100644 (file)
@@ -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());