From: Daniel Arndt Date: Mon, 30 Oct 2017 17:33:00 +0000 (+0100) Subject: Fix warnings regarding extra';' and unused parameters X-Git-Tag: v9.0.0-rc1~845^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5361%2Fhead;p=dealii.git Fix warnings regarding extra';' and unused parameters --- diff --git a/include/deal.II/base/patterns.h b/include/deal.II/base/patterns.h index 46f8ac20ca..4e75010678 100644 --- a/include/deal.II/base/patterns.h +++ b/include/deal.II/base/patterns.h @@ -1469,28 +1469,28 @@ namespace Patterns constexpr int max_list_rank() { return RankInfo::list_rank; - }; + } template constexpr int max_list_rank() { return std_cxx14::max(RankInfo::list_rank, max_list_rank()); - }; + } // Helper function for map_rank template constexpr int max_map_rank() { return RankInfo::map_rank; - }; + } template constexpr int max_map_rank() { return std_cxx14::max(RankInfo::map_rank, max_map_rank()); - }; + } // Rank of vector types template diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index 9cdca359e2..1db96a4fab 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -4468,6 +4468,7 @@ namespace internal Implementation::renumber_mg_dofs (ghosted_new_numbers, relevant_dofs, *dof_handler, level, true); #else + (void) new_numbers; Assert(false, ExcNotImplemented()); #endif