From 32adf14a9f1eb8235f3631febcf4b061a5bc51c3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 21 Mar 2016 15:53:26 -0500 Subject: [PATCH] Avoid warnings about unused function arguments. --- include/deal.II/lac/parallel_vector.templates.h | 8 ++++---- include/deal.II/lac/read_write_vector.templates.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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")); } -- 2.39.5