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
Fix unset variables issues
[simgrid.git]
/
src
/
surf
/
surf_routing.cpp
diff --git
a/src/surf/surf_routing.cpp
b/src/surf/surf_routing.cpp
index
8600c44
..
a3a53c4
100644
(file)
--- a/
src/surf/surf_routing.cpp
+++ b/
src/surf/surf_routing.cpp
@@
-440,15
+440,15
@@
static void elements_father(sg_routing_edge_t src, sg_routing_edge_t dst,
{
xbt_assert(src && dst, "bad parameters for \"elements_father\" method");
#define ELEMENTS_FATHER_MAXDEPTH 16 /* increase if it is not enough */
{
xbt_assert(src && dst, "bad parameters for \"elements_father\" method");
#define ELEMENTS_FATHER_MAXDEPTH 16 /* increase if it is not enough */
- A
S_t
src_as, dst_as;
- A
S_t
path_src[ELEMENTS_FATHER_MAXDEPTH];
- A
S_t
path_dst[ELEMENTS_FATHER_MAXDEPTH];
+ A
sPtr
src_as, dst_as;
+ A
sPtr
path_src[ELEMENTS_FATHER_MAXDEPTH];
+ A
sPtr
path_dst[ELEMENTS_FATHER_MAXDEPTH];
int index_src = 0;
int index_dst = 0;
int index_src = 0;
int index_dst = 0;
- A
S_t
current;
- A
S_t
current_src;
- A
S_t
current_dst;
- A
S_t
father;
+ A
sPtr
current;
+ A
sPtr
current_src;
+ A
sPtr
current_dst;
+ A
sPtr
father;
/* (1) find the as where the src and dst are located */
sg_routing_edge_t src_data = src;
/* (1) find the as where the src and dst are located */
sg_routing_edge_t src_data = src;