X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7a88aaebc691f91b16cd08b2d9ca1595790648b8..1d50b483a862893463417eeab602b80c1d2d7f91:/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c diff --git a/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c b/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c index 84217e9ea9..00de44cb13 100644 --- a/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c +++ b/teshsuite/smpi/pt2pt-dsend/pt2pt-dsend.c @@ -13,15 +13,13 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(dsend,"the dsend test"); static void test_opts(int* argc, char **argv[]){ int found = 0; - int ret; int option_index = 0; static struct option long_options[] = { {"long", no_argument, 0, 0 }, {0, 0, 0, 0 } }; while (1) { - ret = getopt_long(*argc, *argv, "s", - long_options, &option_index); + int ret = getopt_long(*argc, *argv, "s", long_options, &option_index); if(ret==-1) break;