From f62f6cc24ff0d5a1e977ea3ce7ffe6d468d237c8 Mon Sep 17 00:00:00 2001 From: young Date: Mon, 10 Mar 2014 11:36:13 +0000 Subject: [PATCH] Fix a comment and let gcc complain about unused variables. git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@32637 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/numerics/point_value_history.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/deal.II/source/numerics/point_value_history.cc b/deal.II/source/numerics/point_value_history.cc index 5fcaa201e3..7322ed115d 100644 --- a/deal.II/source/numerics/point_value_history.cc +++ b/deal.II/source/numerics/point_value_history.cc @@ -582,7 +582,8 @@ void PointValueHistory // up front means that it only needs // to be done once and also allows us // to check vector_name is in the map. - typename std::map > >::iterator data_store_field = data_store.find(vector_name); + typename std::map > >::iterator + data_store_field = data_store.find(vector_name); Assert (data_store_field != data_store.end(), ExcMessage("vector_name not in class")); // Repeat for component_mask @@ -604,11 +605,8 @@ void PointValueHistory if (mask->second[comp]) { unsigned int solution_index = point->solution_indices[comp]; - //@whattodo data_store_field shoud be typename VECTOR::value_type, but that cuase problems elsewhere... - (void) solution_index; // stop g++ complaining: eventually remove this - (void) n_stored; // stop g++ complaining: eventually remove this - - // data_store_field->second[data_store_index * n_stored + store_index].push_back (solution (solution_index)); + //@whattodo + // data_store_field->second[data_store_index * n_stored + store_index].push_back (solution (solution_index)); Assert ((false), ExcMessage ("This function is corrupt: @whattodo")); store_index++; -- 2.39.5