A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kill the now useless 'cleanup' parameter of routing_get_route_and_latency
[simgrid.git]
/
src
/
surf
/
surf_routing_floyd.c
diff --git
a/src/surf/surf_routing_floyd.c
b/src/surf/surf_routing_floyd.c
index
cd869e9
..
a17aabc
100644
(file)
--- a/
src/surf/surf_routing_floyd.c
+++ b/
src/surf/surf_routing_floyd.c
@@
-108,8
+108,8
@@
static void floyd_get_route(AS_t asg, const char *src, const char *dst, route_t
if (asg->hierarchy == SURF_ROUTING_RECURSIVE && !first
&& strcmp(gw_dst, prev_gw_src)) {
if (asg->hierarchy == SURF_ROUTING_RECURSIVE && !first
&& strcmp(gw_dst, prev_gw_src)) {
- xbt_dynar_t e_route_as_to_as;
- routing_get_route_and_latency(gw_dst, prev_gw_src,&e_route_as_to_as,NULL
,1
);
+ xbt_dynar_t e_route_as_to_as
=NULL
;
+ routing_get_route_and_latency(gw_dst, prev_gw_src,&e_route_as_to_as,NULL);
xbt_assert(e_route_as_to_as, "no route between \"%s\" and \"%s\"",
gw_dst, prev_gw_src);
links = e_route_as_to_as;
xbt_assert(e_route_as_to_as, "no route between \"%s\" and \"%s\"",
gw_dst, prev_gw_src);
links = e_route_as_to_as;