From: bangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d> Date: Thu, 8 May 2008 22:04:43 +0000 (+0000) Subject: Remove a number of unused variables. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f7606772d0de48e7d5fa7a53798b71e10ba8cd6;p=dealii-svn.git Remove a number of unused variables. git-svn-id: https://svn.dealii.org/trunk@16061 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-33/step-33.cc b/deal.II/examples/step-33/step-33.cc index 5d16c64651..eeabd9f615 100644 --- a/deal.II/examples/step-33/step-33.cc +++ b/deal.II/examples/step-33/step-33.cc @@ -119,7 +119,7 @@ const double GAMMA = 1.4; // point. template <typename number, int dim> void Flux(std::vector<std::vector<number> > &flux, - const Point<dim> &point, + const Point<dim> &/*point*/, const std::vector<number> &W) { @@ -509,7 +509,7 @@ template <int dim> void ConsLaw<dim>::assemble_cell_term( const FEValues<dim> &fe_v, std::vector<unsigned int> &dofs, - unsigned int cell_no + unsigned int /*cell_no*/ ) { // The residual for each row (i) will be accumulating @@ -1427,8 +1427,6 @@ void ConsLaw<dim>::postprocess() { fe_v_unit.get_function_grads(solution, dU); fe_v.get_function_values(solution, UU); - const std::vector<double> &JxW = fe_v.get_JxW_values (); - for (unsigned int q = 0; q < fe_v.get_fe().base_element(0).n_dofs_per_cell(); q++) { unsigned int didx = fe_v.get_fe().component_to_system_index(DENS_IDX, q); unsigned int eidx = fe_v.get_fe().component_to_system_index(ENERGY_IDX, q);