[MOAB-dev] r2122 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Wed Oct 1 16:52:22 CDT 2008


Author: kraftche
Date: 2008-10-01 16:52:22 -0500 (Wed, 01 Oct 2008)
New Revision: 2122

Modified:
   MOAB/trunk/cub_file_test.cc
Log:
fix uninitialized variable used for exit code

Modified: MOAB/trunk/cub_file_test.cc
===================================================================
--- MOAB/trunk/cub_file_test.cc	2008-10-01 20:48:58 UTC (rev 2121)
+++ MOAB/trunk/cub_file_test.cc	2008-10-01 21:52:22 UTC (rev 2122)
@@ -97,7 +97,7 @@
 
 int main()
 {
-  int result;
+  int result = 0;
   
   result += RUN_TEST(test_vertices);
   result += RUN_TEST(test_edges);




More information about the moab-dev mailing list