[MOAB-dev] r3022 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Thu Jul 16 17:24:42 CDT 2009


Author: kraftche
Date: 2009-07-16 17:24:42 -0500 (Thu, 16 Jul 2009)
New Revision: 3022

Modified:
   MOAB/trunk/ReadHDF5.cpp
Log:
fix build error

Modified: MOAB/trunk/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/ReadHDF5.cpp	2009-07-16 22:16:51 UTC (rev 3021)
+++ MOAB/trunk/ReadHDF5.cpp	2009-07-16 22:24:42 UTC (rev 3022)
@@ -187,10 +187,10 @@
     return MB_NOT_IMPLEMENTED;
 #else
     int pcomm_no = 0;
-    result = opts.get_int_option("PARALLEL_COMM", pcomm_no);
-    if (result == MB_TYPE_OUT_OF_RANGE) {
+    rval = opts.get_int_option("PARALLEL_COMM", pcomm_no);
+    if (rval == MB_TYPE_OUT_OF_RANGE) {
       readUtil->report_error("Invalid value for PARALLEL_COMM option");
-      return result;
+      return rval;
     }
     MBParallelComm* myPcomm = MBParallelComm::get_pcomm(iFace, pcomm_no);
     if (0 == myPcomm) {



More information about the moab-dev mailing list