[MOAB-dev] commit/MOAB: danwu: Fix a compile warning from tools/mbcslam/process_arm.cpp
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Sep 6 09:55:14 CDT 2013
1 new commit in MOAB:
https://bitbucket.org/fathomteam/moab/commits/b0819c59afdd/
Changeset: b0819c59afdd
Branch: master
User: danwu
Date: 2013-09-06 16:55:01
Summary: Fix a compile warning from tools/mbcslam/process_arm.cpp
Affected #: 1 file
diff --git a/tools/mbcslam/process_arm.cpp b/tools/mbcslam/process_arm.cpp
index ba7642c..06472a9 100644
--- a/tools/mbcslam/process_arm.cpp
+++ b/tools/mbcslam/process_arm.cpp
@@ -354,8 +354,10 @@ int main(int argc, char ** argv)
gidels[k]=k+1;
mb.tag_set_data(gid2, erange, &gidels[0]);
- int times;
- GET_DIM(temp_dim, "time", times);
+ // For now, comment out times to remove compile warning (variable ‘times’ set but not used)
+ //int times;
+ //GET_DIM(temp_dim, "time", times);
+
Tag velotag;
rval = mb.tag_get_handle("VELO", 3, MB_TYPE_DOUBLE,
velotag, MB_TAG_DENSE|MB_TAG_CREAT);
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