Commit 18862019 authored by vijaysm's avatar vijaysm

Fix several additional warnings in sources and tests

parent 4e054031
...@@ -2354,7 +2354,7 @@ int test_entity_copies( iMesh_Instance imesh, iMeshP_PartitionHandle prtn, const ...@@ -2354,7 +2354,7 @@ int test_entity_copies( iMesh_Instance imesh, iMeshP_PartitionHandle prtn, const
// add all vertices to local_data // add all vertices to local_data
for (size_t j = 0; j < verts.size(); ++j) { for (size_t j = 0; j < verts.size(); ++j) {
int tag; int tag=0;
ierr = vertex_tag( imesh, verts[j], tag ); ierr = vertex_tag( imesh, verts[j], tag );
if (ierr) if (ierr)
break; break;
......
...@@ -2406,7 +2406,7 @@ extern "C" { ...@@ -2406,7 +2406,7 @@ extern "C" {
EntityHandle set1 = ENTITY_HANDLE(entity_set_1), EntityHandle set1 = ENTITY_HANDLE(entity_set_1),
set2 = ENTITY_HANDLE(entity_set_2); set2 = ENTITY_HANDLE(entity_set_2);
int isList1, isList2; int isList1=0, isList2=0;
iMesh_isList(instance, entity_set_1, &isList1, err); iMesh_isList(instance, entity_set_1, &isList1, err);
if (*err != iBase_SUCCESS) return; if (*err != iBase_SUCCESS) return;
iMesh_isList(instance, entity_set_2, &isList2, err); iMesh_isList(instance, entity_set_2, &isList2, err);
...@@ -2455,7 +2455,7 @@ extern "C" { ...@@ -2455,7 +2455,7 @@ extern "C" {
EntityHandle set1 = ENTITY_HANDLE(entity_set_1), EntityHandle set1 = ENTITY_HANDLE(entity_set_1),
set2 = ENTITY_HANDLE(entity_set_2); set2 = ENTITY_HANDLE(entity_set_2);
int isList1, isList2; int isList1=0, isList2=0;
iMesh_isList(instance, entity_set_1, &isList1, err); iMesh_isList(instance, entity_set_1, &isList1, err);
if (*err != iBase_SUCCESS) return; if (*err != iBase_SUCCESS) return;
iMesh_isList(instance, entity_set_2, &isList2, err); iMesh_isList(instance, entity_set_2, &isList2, err);
...@@ -2561,7 +2561,7 @@ extern "C" { ...@@ -2561,7 +2561,7 @@ extern "C" {
EntityHandle set1 = ENTITY_HANDLE(entity_set_1), EntityHandle set1 = ENTITY_HANDLE(entity_set_1),
set2 = ENTITY_HANDLE(entity_set_2); set2 = ENTITY_HANDLE(entity_set_2);
int isList1, isList2; int isList1=0, isList2=0;
iMesh_isList(instance, entity_set_1, &isList1, err); iMesh_isList(instance, entity_set_1, &isList1, err);
if (*err != iBase_SUCCESS) return; if (*err != iBase_SUCCESS) return;
iMesh_isList(instance, entity_set_2, &isList2, err); iMesh_isList(instance, entity_set_2, &isList2, err);
......
...@@ -34,7 +34,7 @@ typedef void* iRel_EntityHandle; ...@@ -34,7 +34,7 @@ typedef void* iRel_EntityHandle;
*/ */
void handle_error_code(const int result, void handle_error_code(const int result,
int *number_failed, int *number_failed,
int *number_not_implemented, int * /*number_not_implemented*/,
int *number_successful) int *number_successful)
{ {
if (result) { if (result) {
......
...@@ -38,7 +38,7 @@ const bool debug = false; ...@@ -38,7 +38,7 @@ const bool debug = false;
MetisPartitioner::MetisPartitioner( Interface *impl, MetisPartitioner::MetisPartitioner( Interface *impl,
const bool use_coords) const bool use_coords)
: PartitionerBase<idx_t>(impl,use_coords), : PartitionerBase<idx_t>(impl,use_coords)
{ {
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment