From 4b462d2aa24a5d1a9329382ee921188fb00d1351 Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Thu, 27 Jun 2019 12:28:56 +0200 Subject: [PATCH] Fix -Wunused-parameter --- test/loggerTest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/loggerTest.cxx b/test/loggerTest.cxx index 0af7a29..f53c3c5 100644 --- a/test/loggerTest.cxx +++ b/test/loggerTest.cxx @@ -1,5 +1,5 @@ /******************************************************************************** - * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * + * Copyright (C) 2014-2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the * * GNU Lesser General Public Licence (LGPL) version 3, * @@ -192,7 +192,7 @@ int main() cout << endl << "cout: removing custom sink with info severity" << endl; - Logger::AddCustomSink("CustomSink", Severity::error, [](const string& content, const LogMetaData& metadata){}); + Logger::AddCustomSink("CustomSink", Severity::error, [](const string& /*content*/, const LogMetaData& /*metadata*/){}); Logger::RemoveCustomSink("CustomSink"); Logger::RemoveCustomSink("bla");