[MOAB-dev] r5914 - in MOAB/trunk: itaps/imesh test tools/dagmc
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Fri Dec 14 12:45:23 CST 2012
Author: iulian
Date: 2012-12-14 12:45:23 -0600 (Fri, 14 Dec 2012)
New Revision: 5914
Modified:
MOAB/trunk/itaps/imesh/testc_cbind.cpp
MOAB/trunk/test/MBTest.cpp
MOAB/trunk/test/TestRunner.hpp
MOAB/trunk/tools/dagmc/ray_fire_test.cc
Log:
remove some warnings from tests
not done yet
unused function arguments are usually guarded with /* */, instead of removing them
completely
Modified: MOAB/trunk/itaps/imesh/testc_cbind.cpp
===================================================================
--- MOAB/trunk/itaps/imesh/testc_cbind.cpp 2012-12-14 18:31:35 UTC (rev 5913)
+++ MOAB/trunk/itaps/imesh/testc_cbind.cpp 2012-12-14 18:45:23 UTC (rev 5914)
@@ -97,7 +97,7 @@
*/
void handle_error_code(const int result,
int *number_failed,
- int *number_not_implemented,
+ int * /*number_not_implemented*/,
int *number_successful)
{
if (result) {
@@ -135,7 +135,7 @@
return FALSE; \
}
-int error_code_test(iMesh_Instance mesh) {
+int error_code_test(iMesh_Instance /*mesh*/) {
TEST_ERROR_CODE( MB_SUCCESS, iBase_SUCCESS )
TEST_ERROR_CODE( MB_TYPE_OUT_OF_RANGE, iBase_INVALID_ENTITY_TYPE )
TEST_ERROR_CODE( MB_MEMORY_ALLOCATION_FAILED, iBase_MEMORY_ALLOCATION_FAILED )
@@ -577,7 +577,7 @@
int check_esets(iMesh_Instance mesh, const int num_sets);
int entity_sets_subtest(iMesh_Instance mesh, int is_list,
- int num_iter)
+ int /*num_iter*/)
{
int i, num_type = iBase_ALL_TYPES - iBase_VERTEX;
int num_all_entities_super = 0;
@@ -1302,7 +1302,7 @@
}
int vertex_int_tag_test(iMesh_Instance mesh,
- iBase_EntityHandle *verts, int verts_size,
+ iBase_EntityHandle *verts, int /*verts_size*/,
iBase_TagHandle *int_tag)
{
int result;
@@ -1371,7 +1371,7 @@
}
int vertex_double_tag_test(iMesh_Instance mesh,
- iBase_EntityHandle *verts, int verts_size,
+ iBase_EntityHandle *verts, int /*verts_size*/,
iBase_TagHandle *double_tag)
{
int result;
@@ -1445,7 +1445,7 @@
};
More information about the moab-dev
mailing list