From: Wolfgang Bangerth Date: Mon, 21 Mar 2016 20:53:26 +0000 (-0500) Subject: Avoid warnings about unused function arguments. X-Git-Tag: v8.5.0-rc1~1184^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32adf14a9f1eb8235f3631febcf4b061a5bc51c3;p=dealii.git Avoid warnings about unused function arguments. --- diff --git a/include/deal.II/lac/parallel_vector.templates.h b/include/deal.II/lac/parallel_vector.templates.h index a3d585fe85..eca52c03d3 100644 --- a/include/deal.II/lac/parallel_vector.templates.h +++ b/include/deal.II/lac/parallel_vector.templates.h @@ -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 - void copy_petsc_vector (const std::complex *petsc_start_ptr, - const std::complex *petsc_end_ptr, - Number *ptr) + void copy_petsc_vector (const std::complex * /*petsc_start_ptr*/, + const std::complex * /*petsc_end_ptr*/, + Number * /*ptr*/) { AssertThrow(false, ExcMessage("Tried to copy complex -> real")); } diff --git a/include/deal.II/lac/read_write_vector.templates.h b/include/deal.II/lac/read_write_vector.templates.h index 9e334de71d..cd2420111f 100644 --- a/include/deal.II/lac/read_write_vector.templates.h +++ b/include/deal.II/lac/read_write_vector.templates.h @@ -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 - void copy_petsc_vector (const std::complex *petsc_start_ptr, - const std::complex *petsc_end_ptr, - Number *ptr) + void copy_petsc_vector (const std::complex * /*petsc_start_ptr*/, + const std::complex * /*petsc_end_ptr*/, + Number * /*ptr*/) { AssertThrow(false, ExcMessage("Tried to copy complex -> real")); }