Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initialize a variable in any case (kill a warning)
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 1 Jul 2009 08:37:56 +0000 (08:37 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 1 Jul 2009 08:37:56 +0000 (08:37 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6416 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surfxml_parse.c

index d35de2a..e4a04e7 100644 (file)
@@ -1025,7 +1025,7 @@ static void convert_route_multi_to_routes(void)
   char *src_host_name, *dst_host_name, *key, *src, *dst, *val, *key_w,
     *data_w;
   const char *sep = "#";
-  xbt_dict_t set;
+  xbt_dict_t set = NULL;
   xbt_dynar_t src_names = NULL, dst_names = NULL, links;
 
   if (!route_multi_elements)