]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Handle more unused variables and parameters 4033/head
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 5 Mar 2017 15:37:15 +0000 (16:37 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 5 Mar 2017 15:37:34 +0000 (16:37 +0100)
bundled/boost-1.62.0/include/boost/iostreams/filter/gzip.hpp
include/deal.II/dofs/dof_accessor.templates.h
include/deal.II/lac/diagonal_matrix.h
include/deal.II/matrix_free/fe_evaluation.h

index fb18224ea1202f306b14db839b5ae0a6450f72cd..a0cc92c09b471d273897a5f7d972ce0617249ece 100644 (file)
@@ -285,7 +285,7 @@ private:
         boost::iostreams::put(next, static_cast<char>(0xFF & (n >> 24)));
     }
     template<typename Sink>
-    static void write_long(long n, Sink& next, boost::mpl::false_)
+    static void write_long(long /*n*/, Sink& /*next*/, boost::mpl::false_)
     {
     }
     template<typename Sink>
index 25d39b02aa404ae04af635cf40b874c17eb19df4..87566e726e9172bfaa18b4b5f9759295956a5866 100644 (file)
@@ -2423,7 +2423,7 @@ template <template <int, int> class DoFHandlerType, int spacedim, bool level_dof
 inline
 bool
 DoFAccessor<0,DoFHandlerType<1,spacedim>, level_dof_access>::
-fe_index_is_active (const unsigned int fe_index) const
+fe_index_is_active (const unsigned int /*fe_index*/) const
 {
   Assert(false, ExcNotImplemented());
   return false;
index 1f5a62dc4a7982b62d37b389112f5dd7d7729a95..c7b223f43424cceab2d3bad345ba24ad2c1d9546 100644 (file)
@@ -280,6 +280,7 @@ DiagonalMatrix<VectorType>::operator()(const size_type i,
                                        const size_type j) const
 {
   Assert (i==j, ExcIndexRange(j,i,i+1));
+  (void) j;
   return diagonal(i);
 }
 
index 7945b28a32815315e82b21eac3cfbdc293ca40d4..0f2cd831d7a9df76870e34775b7110c6005a3936 100644 (file)
@@ -2253,6 +2253,7 @@ FEEvaluationBase<dim,n_components_,Number>
          fe.element_multiplicity(base_element_number)-first_selected_component >= n_components_,
          ExcMessage("The underlying element must at least contain as many "
                     "components as requested by this class"));
+  (void) base_element_number;
 }
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.