From: young Date: Mon, 10 Mar 2014 11:36:13 +0000 (+0000) Subject: Fix a comment and let gcc complain about unused variables. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f62f6cc24ff0d5a1e977ea3ce7ffe6d468d237c8;p=dealii-svn.git 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 --- 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++;