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

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Mar 24 16:09:22 CDT 2010


Author: kraftche
Date: 2010-03-24 16:09:22 -0500 (Wed, 24 Mar 2010)
New Revision: 3708

Modified:
   MOAB/trunk/src/parallel/ParallelComm.cpp
Log:
fix possible return of uninitialized value

Modified: MOAB/trunk/src/parallel/ParallelComm.cpp
===================================================================
--- MOAB/trunk/src/parallel/ParallelComm.cpp	2010-03-24 21:04:10 UTC (rev 3707)
+++ MOAB/trunk/src/parallel/ParallelComm.cpp	2010-03-24 21:09:22 UTC (rev 3708)
@@ -4290,7 +4290,7 @@
     // allsent is all entities I think are on interface; go over them, looking
     // for zero-valued handles, and fix any I find
 
-  ErrorCode result;
+  ErrorCode result = MB_SUCCESS;
   Range::iterator rit;
   unsigned char pstatus;
   int sharedp[MAX_SHARING_PROCS], nump;



More information about the moab-dev mailing list