X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fbdb5d8764d5e24c93fbce515a4d22482f76c207..c1196ca10d1165bfaadfd66799bff4e0eec459b5:/examples/amok/saturate/env.c diff --git a/examples/amok/saturate/env.c b/examples/amok/saturate/env.c index 5ad45e392c..e2d00f5c9b 100644 --- a/examples/amok/saturate/env.c +++ b/examples/amok/saturate/env.c @@ -67,8 +67,6 @@ static void env_hosttohost_bw(int argc, char *argv[]) /********************************************************************************************/ static void env_Pairwisehost_bw(int argc, char *argv[]) { - xbt_ex_t e; - /* where are the sensors */ xbt_dynar_t hosts = xbt_dynar_new(sizeof(xbt_host_t), &free_host); int nb_hosts; @@ -107,7 +105,7 @@ static void env_Pairwisehost_bw(int argc, char *argv[]) amok_bw_saturate_start(h1->name, h1->port, host_test, h1->port, //"Ginette" msg_size, 120); // sturation of the link with msg_size to compute a concurent bandwidth MA //MB } - CATCH(e) { + CATCH_ANONYMOUS { RETHROWF("Cannot ask hosts to saturate the link: %s"); } // gras_os_sleep(1.0);