[MOAB-dev] commit/MOAB: iulian07: remove a warning when built with occ based cgm

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Jul 7 13:08:04 CDT 2014


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/3f23a9d892b9/
Changeset:   3f23a9d892b9
Branch:      master
User:        iulian07
Date:        2014-07-07 20:06:47
Summary:     remove a warning when built with occ based cgm

group_ent_ids is not used when built wiht occ-based cgm

Affected #:  1 file

diff --git a/test/io/read_cgm_group_test.cpp b/test/io/read_cgm_group_test.cpp
index 3bfb137..6fd2d3c 100644
--- a/test/io/read_cgm_group_test.cpp
+++ b/test/io/read_cgm_group_test.cpp
@@ -129,8 +129,13 @@ void read_cylcube_groups_test()
   check_group_data( g_ids, g_names, g_ent_ids );
 }
 
-
-void check_group_data(std::vector<int> & group_ids, std::vector<std::string> & group_names, std::vector<int> & group_ent_ids )
+void check_group_data(std::vector<int> & group_ids, std::vector<std::string> & group_names, std::vector<int> &
+#ifdef HAVE_OCC_STEP
+  /* group_ent_ids */
+#else
+     group_ent_ids
+#endif
+)
 {
 
   // Step files do not contain group data, MOAB shouldn't return errors when trying to access

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