[MOAB-dev] commit/MOAB: danwu: Remove two -Wunused-variable warnings from tools/mbcslam/Intx2MeshOnSphere.cpp.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Sep 18 15:11:03 CDT 2013


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/76c90da61c16/
Changeset:   76c90da61c16
Branch:      master
User:        danwu
Date:        2013-09-18 22:10:50
Summary:     Remove two -Wunused-variable warnings from tools/mbcslam/Intx2MeshOnSphere.cpp.

Affected #:  1 file

diff --git a/tools/mbcslam/Intx2MeshOnSphere.cpp b/tools/mbcslam/Intx2MeshOnSphere.cpp
index a875d7b..0952ef6 100644
--- a/tools/mbcslam/Intx2MeshOnSphere.cpp
+++ b/tools/mbcslam/Intx2MeshOnSphere.cpp
@@ -439,10 +439,10 @@ ErrorCode Intx2MeshOnSphere::update_tracer_data(EntityHandle out_set, Tag & tagE
     int blueIndex, redIndex;
     rval =  mb->tag_get_data(blueParentTag, &poly, 1, &blueIndex);
     ERRORR(rval, "can't get blue tag");
-    EntityHandle blue = rs1[blueIndex];
+    //EntityHandle blue = rs1[blueIndex];
     rval =  mb->tag_get_data(redParentTag, &poly, 1, &redIndex);
     ERRORR(rval, "can't get red tag");
-    EntityHandle red=rs2[redIndex];
+    //EntityHandle red = rs2[redIndex];
     // big assumption here, red and blue are "parallel" ;we should have an index from
     // blue to red (so a deformed blue corresponds to an arrival red)
     double areap = area_spherical_element(mb, poly, R);

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