Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : initialize variable
authorMarion Guthmuller <marion.guthmuller@inria.fr>
Wed, 25 Feb 2015 18:18:10 +0000 (19:18 +0100)
committerMarion Guthmuller <marion.guthmuller@inria.fr>
Wed, 25 Feb 2015 18:18:10 +0000 (19:18 +0100)
examples/smpi/mc/non_termination4.c

index 4e03da5..c992b24 100644 (file)
@@ -6,7 +6,7 @@ int x = 20;
 
 int main(int argc, char **argv) {
   
-       int recv_x, size, rank;
+       int recv_x = 1, size, rank;
   MPI_Status status;
 
   MPI_Init(&argc, &argv);