From: Frederic Suter Date: Thu, 25 Jun 2015 14:51:17 +0000 (+0200) Subject: please the paranoid freak X-Git-Tag: v3_12~554 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7fc88a7f2695f6e33e848b17c51b082414649b62?hp=77dc8c37f29bb55bcbbbda3da52f06d1fe438510 please the paranoid freak --- diff --git a/examples/msg/actions/storage_actions.c b/examples/msg/actions/storage_actions.c index 981b11cd08..855f96187a 100644 --- a/examples/msg/actions/storage_actions.c +++ b/examples/msg/actions/storage_actions.c @@ -30,7 +30,7 @@ static void log_action(const char *const *action, double date) } } -msg_file_t get_file_descriptor(const char *file_name){ +static msg_file_t get_file_descriptor(const char *file_name){ char full_name[1024]; msg_file_t file = NULL; @@ -86,7 +86,6 @@ static void action_read(const char *const *action) { static void action_close(const char *const *action) { const char *file_name = action[2]; - char full_name[1024]; msg_file_t file; double clock = MSG_get_clock(); /* this "call" is free thanks to inlining */