]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid warnings about unused function arguments. 2408/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 24 Mar 2016 20:07:56 +0000 (15:07 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 24 Mar 2016 20:07:56 +0000 (15:07 -0500)
include/deal.II/lac/read_write_vector.templates.h

index 7fb27e15484b11e63eb3f4bc62703f5ab9afeb57..28ce43d8d6bbab9fbdab4e71f715eb3f22180af7 100644 (file)
@@ -150,8 +150,8 @@ namespace LinearAlgebra
   template <typename Number>
   void
   ReadWriteVector<Number>::import(const PETScWrappers::MPI::Vector &petsc_vec,
-                                  VectorOperation::values operation,
-                                  std_cxx11::shared_ptr<const CommunicationPatternBase> communication_pattern)
+                                  VectorOperation::values /*operation*/,
+                                  std_cxx11::shared_ptr<const CommunicationPatternBase> /*communication_pattern*/)
   {
     //TODO: this works only if no communication is needed.
     Assert(petsc_vec.locally_owned_elements() == stored_elements,

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.