Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
initialize this storage with NULL
[simgrid.git] / 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());