From 39f04a33f18094667adcb46abf9dd5c1f40181f9 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 3 Apr 2014 10:18:22 +0200 Subject: [PATCH] Older gcc warns that variable may be uninitialized. Initialize it. --- src/msg/msg_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msg/msg_io.c b/src/msg/msg_io.c index 3b77073b5d..3f7e1f89d2 100644 --- a/src/msg/msg_io.c +++ b/src/msg/msg_io.c @@ -322,7 +322,7 @@ msg_error_t MSG_file_rcopy (msg_file_t file, msg_host_t host, const char* fullpa /* Find the real host destination where the file will be physically stored */ xbt_dict_cursor_t cursor = NULL; char *mount_name, *storage_name, *file_mount_name, *host_name_dest; - msg_storage_t storage_dest; + msg_storage_t storage_dest = NULL; msg_host_t host_dest; size_t longest_prefix_length = 0; -- 2.20.1