]> https://gitweb.dealii.org/ - dealii.git/commitdiff
removed some -Wunused-variable from lac/trilinos_sparse_matrix.h for the optimized...
authorUwe Koecher <uwe.koecher.2012@googlemail.com>
Tue, 25 Jun 2013 08:28:51 +0000 (08:28 +0000)
committerUwe Koecher <uwe.koecher.2012@googlemail.com>
Tue, 25 Jun 2013 08:28:51 +0000 (08:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@29892 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/trilinos_sparse_matrix.h

index 0d775dd943c4df75afa5fda16d3ea8cce2b97d98..6c0ba9f7aedaeeca2e74841579e1218427d13780 100644 (file)
@@ -3669,6 +3669,9 @@ namespace TrilinosWrappers
                 ExcMessage ("Column map of matrix does not fit with vector map!"));
         Assert (out.vector_partitioner().SameAs(m.RangeMap()) == true,
                 ExcMessage ("Row map of matrix does not fit with vector map!"));
+               (void)m;
+               (void)in;
+               (void)out;
       }
     }
   }
@@ -3682,12 +3685,16 @@ namespace TrilinosWrappers
   {
     Assert (&src != &dst, ExcSourceEqualsDestination());
     Assert (matrix->Filled(), ExcMatrixNotCompressed());
+       (void)src;
+       (void)dst;
 
     internal::SparseMatrix::check_vector_map_equality(*matrix, src, dst);
     const size_type dst_local_size = dst.end() - dst.begin();
     AssertDimension (dst_local_size, static_cast<size_type>(matrix->RangeMap().NumMyElements()));
+       (void)dst_local_size;
     const size_type src_local_size = src.end() - src.begin();
     AssertDimension (src_local_size, static_cast<size_type>(matrix->DomainMap().NumMyElements()));
+       (void)src_local_size;
 
     Epetra_MultiVector tril_dst (View, matrix->RangeMap(), dst.begin(),
                                  matrix->DomainMap().NumMyPoints(), 1);

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.