From: David Wells Date: Sat, 9 Dec 2017 18:03:23 +0000 (-0500) Subject: Fix some unused variable warnings. X-Git-Tag: v9.0.0-rc1~671^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05bef48a59e9b14800057ad309500e4d132e7e0c;p=dealii.git Fix some unused variable warnings. --- diff --git a/include/deal.II/matrix_free/dof_info.templates.h b/include/deal.II/matrix_free/dof_info.templates.h index f51570268f..0f0062c3e5 100644 --- a/include/deal.II/matrix_free/dof_info.templates.h +++ b/include/deal.II/matrix_free/dof_info.templates.h @@ -1347,7 +1347,6 @@ not_connect: task_info.partition_color_blocks_row_index.resize(partition+1,0); task_info.partition_color_blocks_data.resize(1,0); - start_up = 0; counter = 0; unsigned int missing_macros; for (unsigned int part=0; partLB_Partition (changes, - num_gid_entries, - num_lid_entries, - num_import, - import_global_ids, - import_local_ids, - import_procs, - import_to_part, - num_export, - export_global_ids, - export_local_ids, - export_procs, - export_to_part); + const int rc = zz->LB_Partition (changes, + num_gid_entries, + num_lid_entries, + num_import, + import_global_ids, + import_local_ids, + import_procs, + import_to_part, + num_export, + export_global_ids, + export_local_ids, + export_procs, + export_to_part); + (void)rc; //check for error code in partitioner Assert( rc == ZOLTAN_OK , ExcInternalError() ); diff --git a/source/lac/trilinos_vector.cc b/source/lac/trilinos_vector.cc index db03f38913..3de292b216 100644 --- a/source/lac/trilinos_vector.cc +++ b/source/lac/trilinos_vector.cc @@ -311,7 +311,6 @@ namespace TrilinosWrappers } TrilinosScalar *entries = (*actual_vec)[0]; - block_offset = 0; for (size_type block=0; block