From: Wolfgang Bangerth Date: Mon, 18 Dec 2000 14:18:57 +0000 (+0000) Subject: Remove a variable that was not only not needed but the initialization X-Git-Tag: v8.0.0~19878 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7bbcfb6a50ebfa4fdb37b5400ba0e3ce69c6d6e;p=dealii.git Remove a variable that was not only not needed but the initialization of which led to an exception. git-svn-id: https://svn.dealii.org/trunk@3558 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/dofs/dof_tools.cc b/deal.II/deal.II/source/dofs/dof_tools.cc index 1a9d46969b..c7dc364a41 100644 --- a/deal.II/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/deal.II/source/dofs/dof_tools.cc @@ -1050,8 +1050,7 @@ DoFTools::compute_intergrid_constraints (const DoFHandler &coa n_fine_dofs = fine_grid.n_dofs(); // local numbers of dofs - const unsigned int coarse_dofs_per_cell = coarse_fe.dofs_per_cell, - fine_dofs_per_cell = fine_fe.dofs_per_cell; + const unsigned int fine_dofs_per_cell = fine_fe.dofs_per_cell; // alias the number of dofs per // cell belonging to the @@ -1203,13 +1202,6 @@ DoFTools::compute_intergrid_constraints (const DoFHandler &coa // set up this mapping if (true) { - // list of local dof numbers - // belonging to the parameter - // part of the FE on the fine grid - vector parameter_dofs; - for (unsigned int i=0; i local_dof_indices(fine_fe.dofs_per_cell); unsigned int next_free_index=0; for (typename DoFHandler::active_cell_iterator cell=fine_grid.begin_active();