[MOAB-dev] r5352 - MOAB/trunk/src/io

jvporter at wisc.edu jvporter at wisc.edu
Thu Jan 26 15:20:31 CST 2012


Author: jvporter
Date: 2012-01-26 15:20:31 -0600 (Thu, 26 Jan 2012)
New Revision: 5352

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
Eliminate warnings in parallel config


Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2012-01-26 05:57:04 UTC (rev 5351)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2012-01-26 21:20:31 UTC (rev 5352)
@@ -2013,7 +2013,7 @@
   bool bcast = false;
   hid_t ioprop = H5P_DEFAULT;
 #ifdef USE_MPI
-  MPI_Comm comm;
+  MPI_Comm comm = 0;
   if (nativeParallel) {
     rank = myPcomm->proc_config().proc_rank();
     comm = myPcomm->proc_config().proc_comm();
@@ -2220,7 +2220,7 @@
   int rank = 0;
   bool bcast = false;
 #ifdef USE_MPI
-  MPI_Comm comm;
+  MPI_Comm comm = 0;
   if (nativeParallel) {
     rank = myPcomm->proc_config().proc_rank();
     comm = myPcomm->proc_config().proc_comm();































More information about the moab-dev mailing list