Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / teshsuite / smpi / pt2pt-dsend / pt2pt-dsend.c
index e081038..22b1ea6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011-2019. 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);
 }