Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix a compilation warning (use of an uninitialized variable)
authorthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 14 Mar 2011 09:16:12 +0000 (09:16 +0000)
committerthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 14 Mar 2011 09:16:12 +0000 (09:16 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9781 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surf_routing.c

index e3d2fa3..f13e80a 100644 (file)
@@ -3899,7 +3899,7 @@ static void routing_parse_Srandom(void)
          double mean, std, min, max, seed;
          char *random_id = A_surfxml_random_id;
          char *random_radical = A_surfxml_random_radical;
-         char *rd_name;
+         char *rd_name = NULL;
          char *rd_value;
          surf_parse_get_double(&mean,A_surfxml_random_mean);
          surf_parse_get_double(&std,A_surfxml_random_std_deviation);