[MOAB-dev] commit/MOAB: vijaysm: Fix uninitialized variable warnings in MBCSLAM

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Jul 14 19:37:24 CDT 2014


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/57c442e05a5e/
Changeset:   57c442e05a5e
Branch:      vijaysm/fix-warnings
User:        vijaysm
Date:        2014-07-15 02:37:12
Summary:     Fix uninitialized variable warnings in MBCSLAM

Affected #:  1 file

diff --git a/tools/mbcslam/Intx2Mesh.cpp b/tools/mbcslam/Intx2Mesh.cpp
index b17cc33..c6bbdce 100644
--- a/tools/mbcslam/Intx2Mesh.cpp
+++ b/tools/mbcslam/Intx2Mesh.cpp
@@ -177,7 +177,7 @@ ErrorCode Intx2Mesh::intersect_meshes(EntityHandle mbset1, EntityHandle mbset2,
 
   // really, should be something from t1 and t2; blue is 1 (lagrange), red is 2 (euler)
   createTags(); //
-  EntityHandle startBlue, startRed;
+  EntityHandle startBlue=0, startRed=0;
 
   mb->get_entities_by_dimension(mbs1, 2, rs1);
   mb->get_entities_by_dimension(mbs2, 2, rs2);

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list