[MOAB-dev] r5561 - MOAB/trunk/src/parallel

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Jun 12 11:30:19 CDT 2012


Author: tautges
Date: 2012-06-12 11:30:19 -0500 (Tue, 12 Jun 2012)
New Revision: 5561

Modified:
   MOAB/trunk/src/parallel/ParallelComm.cpp
Log:
Cleaning up compiler warning.



Modified: MOAB/trunk/src/parallel/ParallelComm.cpp
===================================================================
--- MOAB/trunk/src/parallel/ParallelComm.cpp	2012-06-11 19:14:43 UTC (rev 5560)
+++ MOAB/trunk/src/parallel/ParallelComm.cpp	2012-06-12 16:30:19 UTC (rev 5561)
@@ -3512,9 +3512,12 @@
     case MB_TYPE_BIT:
         result = reduce<unsigned char>(mpi_op, num_ents, old_vals, new_vals);
         break;
+    default:
+        result = MB_SUCCESS;
+        break;
   }
   
-  return MB_SUCCESS;
+  return result;
 }
 
 ErrorCode ParallelComm::resolve_shared_ents(EntityHandle this_set,



































More information about the moab-dev mailing list