Salome HOME
Adapt for C++17
[tools/medcoupling.git] / src / ParaMEDMEMTest / ParaMEDMEMTest_ICoco.cxx
index 2c846ac2089df023666d4c869b519f0601ba7659..2650ce9ef296c798711f223db9491d32e20c01ea 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -45,7 +45,7 @@ void synchronize_bool(bool& stop, synctype s)
   int my_stop_temp = stop?1:0;
   if (s==sync_and)
     MPI_Allreduce(&my_stop_temp,&my_stop,1,MPI_INTEGER,MPI_MIN,MPI_COMM_WORLD);
-  else if (s==sync_or)
+  else // if (s==sync_or)
     MPI_Allreduce(&my_stop_temp,&my_stop,1,MPI_INTEGER,MPI_MAX,MPI_COMM_WORLD);
   stop =(my_stop==1);
 }