Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Useless parentheses.
[simgrid.git] / examples / smpi / mc / non_termination3.c
index 0e0f56f..ebbbb9c 100644 (file)
@@ -17,7 +17,7 @@ int main(int argc, char **argv) {
   MPI_Comm_size(MPI_COMM_WORLD, &size);   /* Get nr of tasks */
   MPI_Comm_rank(MPI_COMM_WORLD, &rank);   /* Get id of this process */
 
-  MC_ignore(&(status.count), sizeof(status.count));
+  MC_ignore(&status.count, sizeof status.count);
 
   if (rank == 0) {
     while (x<5) {