From: cherierm Date: Fri, 21 Sep 2007 16:00:48 +0000 (+0000) Subject: Declaration of the variables at the begining of the functions X-Git-Tag: v3.3~1116 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/4de0642e643abd4e1bf34d1b7b06ac34b25b8a3c?hp=65fe7ce26905cc6a4e8cc05066817e8eb0779ecc Declaration of the variables at the begining of the functions git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4675 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/msg/msg_config.c b/src/msg/msg_config.c index 5bb0763674..ab2a14cc3a 100644 --- a/src/msg/msg_config.c +++ b/src/msg/msg_config.c @@ -29,6 +29,7 @@ */ void MSG_config(const char *name, ...) { + va_list pa; if (!msg_global) { fprintf(stderr, @@ -37,7 +38,7 @@ void MSG_config(const char *name, ...) } - va_list pa; + /* xbt_cfg_dump("msg_cfg_set","",_msg_cfg_set); */ va_start(pa, name);