From 9de367c7abcf598601569e7ba169da106aedfbbf Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 26 Jun 2017 21:32:55 +0200 Subject: [PATCH] Avoid warning about uninitialized variable. --- source/dofs/dof_handler_policy.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/dofs/dof_handler_policy.cc b/source/dofs/dof_handler_policy.cc index b2778f3f47..5f69e84cbd 100644 --- a/source/dofs/dof_handler_policy.cc +++ b/source/dofs/dof_handler_policy.cc @@ -1005,6 +1005,7 @@ namespace internal const types::global_dof_index n_dofs, const unsigned int n_procs) { + (void)n_procs; std::vector subdomain_association (n_dofs, numbers::invalid_subdomain_id); std::vector local_dof_indices; @@ -1058,10 +1059,10 @@ namespace internal return subdomain_association; } - } + template NumberCache ParallelShared:: -- 2.39.5