Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let the latest MBI tests compile with our paranoid compil flags
[simgrid.git] / teshsuite / smpi / pt2pt-dsend / pt2pt-dsend.c
index fe36b7c23e1146fb51d16479c733115f429390ac..22b1ea6fed26b452d23feee688dead76493dd516 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2020. The SimGrid Team.
+/* Copyright (c) 2011-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -26,8 +26,6 @@ static void test_opts(int argc, char* const argv[])
 
     switch (ret) {
       case 0:
-        found++;
-      break;
       case 's':
         found ++;
       break;
@@ -77,5 +75,5 @@ int main(int argc, char *argv[])
 
   XBT_INFO("rank %d: data exchanged", rank);
   MPI_Finalize();
-  return 0;
+  exit(0);
 }