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
Use automated call to sd_exit
[simgrid.git]
/
examples
/
simdag
/
ptg-dotload
/
sd_ptg-dotload.c
diff --git
a/examples/simdag/ptg-dotload/sd_ptg-dotload.c
b/examples/simdag/ptg-dotload/sd_ptg-dotload.c
index
4104475
..
e6b45de
100644
(file)
--- a/
examples/simdag/ptg-dotload/sd_ptg-dotload.c
+++ b/
examples/simdag/ptg-dotload/sd_ptg-dotload.c
@@
-27,7
+27,6
@@
int main(int argc, char **argv){
/* load the DOT file */
dot = SD_PTG_dotload(argv[2]);
if(dot == NULL){
- SD_exit();
xbt_die("No dot load may be you have a cycle in your graph");
}
@@
-56,7
+55,5
@@
int main(int argc, char **argv){
}
xbt_dynar_free_container(&dot);
- /* exit */
- SD_exit();
return 0;
}