From 667808d72cd9dbca9f2f5e8555572477b9148200 Mon Sep 17 00:00:00 2001 From: alegrand Date: Wed, 1 Dec 2010 15:51:00 +0000 Subject: [PATCH] kill useless variables git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8817 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/surf/surf_routing.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index f607a184cb..6759694a24 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -719,16 +719,13 @@ static route_extended_t _get_route(const char *src, const char *dst) static double _get_latency(const char *src, const char *dst) { - void *link; - unsigned int cpt = 0; double latency, latency_src, latency_dst = 0.0; DEBUG2("Solve route \"%s\" to \"%s\"", src, dst); xbt_assert0(src && dst, "bad parameters for \"_get_route\" method"); - route_extended_t e_route, e_route_cnt, e_route_src = NULL, e_route_dst = - NULL; + route_extended_t e_route, e_route_cnt; xbt_dynar_t elem_father_list = elements_father(src, dst); -- 2.20.1