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

index a3d585fe851a4594d39acd2faebc558ae6d91f03..eca52c03d30e7ad63bc453d2f47d936d9bc16e59 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2011 - 2015 by the deal.II authors
+// Copyright (C) 2011 - 2016 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -229,9 +229,9 @@ namespace parallel
       }
 
       template <typename PETSC_Number, typename Number>
-      void copy_petsc_vector (const std::complex<PETSC_Number> *petsc_start_ptr,
-                              const std::complex<PETSC_Number> *petsc_end_ptr,
-                              Number *ptr)
+      void copy_petsc_vector (const std::complex<PETSC_Number> * /*petsc_start_ptr*/,
+                              const std::complex<PETSC_Number> * /*petsc_end_ptr*/,
+                              Number * /*ptr*/)
       {
         AssertThrow(false, ExcMessage("Tried to copy complex -> real"));
       }
index 9e334de71dd915cc45e04bcc1abd4ed96f304a11..cd2420111f0ec94da63175485c636ac7ff87b721 100644 (file)
@@ -1,6 +1,6 @@
 // ---------------------------------------------------------------------
 //
-// Copyright (C) 2015 by the deal.II authors
+// Copyright (C) 2015, 2016 by the deal.II authors
 //
 // This file is part of the deal.II library.
 //
@@ -123,9 +123,9 @@ namespace LinearAlgebra
     }
 
     template <typename PETSC_Number, typename Number>
-    void copy_petsc_vector (const std::complex<PETSC_Number> *petsc_start_ptr,
-                            const std::complex<PETSC_Number> *petsc_end_ptr,
-                            Number *ptr)
+    void copy_petsc_vector (const std::complex<PETSC_Number> * /*petsc_start_ptr*/,
+                            const std::complex<PETSC_Number> * /*petsc_end_ptr*/,
+                            Number * /*ptr*/)
     {
       AssertThrow(false, ExcMessage("Tried to copy complex -> real"));
     }

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.