From 4fd7b68dbfdb98b056a30f1feaaf3ba9033871e4 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sun, 22 Oct 2017 15:16:38 +0200 Subject: [PATCH] Circumvent declaring an unused variable --- source/base/parameter_acceptor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/base/parameter_acceptor.cc b/source/base/parameter_acceptor.cc index 29efc99b27..e0303a9640 100644 --- a/source/base/parameter_acceptor.cc +++ b/source/base/parameter_acceptor.cc @@ -229,7 +229,7 @@ void ParameterAcceptor::enter_my_subsection(ParameterHandler &prm=ParameterAccep void ParameterAcceptor::leave_my_subsection(ParameterHandler &prm=ParameterAcceptor::prm) { const auto sections = get_section_path(); - for (const auto &sec : sections) + for (unsigned int i=0; i