X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cf944399509e0838e40a3fab1cd566329ecefff4..65f2d0ee3e36c86770abe9196990f0a40b4b8221:/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 1ac5e62f7e..e6b45de68d 100644 --- a/examples/simdag/ptg-dotload/sd_ptg-dotload.c +++ b/examples/simdag/ptg-dotload/sd_ptg-dotload.c @@ -4,7 +4,6 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include #include "simgrid/simdag.h" #include "xbt/log.h" @@ -28,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"); } @@ -57,7 +55,5 @@ int main(int argc, char **argv){ } xbt_dynar_free_container(&dot); - /* exit */ - SD_exit(); return 0; }