AMPI: quiet uninitialized variable warning
authorPhil Miller <mille121@illinois.edu>
Wed, 28 Aug 2013 04:11:05 +0000 (23:11 -0500)
committerPhil Miller <mille121@illinois.edu>
Wed, 28 Aug 2013 04:11:05 +0000 (23:11 -0500)
src/libs/ck-libs/ampi/ampi.C

index b988aa329a31bc17109a5e3eee4d2c640adbea75..44ed1a59cc688716b2b3e3347aecb25f47ca5ab3 100644 (file)
@@ -5324,6 +5324,7 @@ int AMPI_Intercomm_merge(MPI_Comm intercomm, int high, MPI_Comm *newintracomm){
   rroot = ptr->getIndexForRemoteRank(0);
   lhigh = high;
   lrank = ptr->getRank(intercomm);
+  first = 0;
 
   if(lrank==0){
     MPI_Status sts;