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
cosmetics from patch review
[simgrid.git]
/
src
/
instr
/
instr_paje_types.cpp
diff --git
a/src/instr/instr_paje_types.cpp
b/src/instr/instr_paje_types.cpp
index
68ab444
..
d985564
100644
(file)
--- a/
src/instr/instr_paje_types.cpp
+++ b/
src/instr/instr_paje_types.cpp
@@
-99,7
+99,8
@@
type_t PJ_type_get_or_null (const char *name, type_t father)
THROWF (tracing_error, 0, "can't get type with a NULL name or from a NULL father");
}
THROWF (tracing_error, 0, "can't get type with a NULL name or from a NULL father");
}
- type_t ret = NULL, child;
+ type_t ret = NULL;
+ type_t child;
char *child_name;
xbt_dict_cursor_t cursor = NULL;
xbt_dict_foreach(father->children, cursor, child_name, child) {
char *child_name;
xbt_dict_cursor_t cursor = NULL;
xbt_dict_foreach(father->children, cursor, child_name, child) {