From: Martin Kronbichler Date: Mon, 26 Jun 2017 19:32:55 +0000 (+0200) Subject: Avoid warning about uninitialized variable. X-Git-Tag: v9.0.0-rc1~1470^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9de367c7abcf598601569e7ba169da106aedfbbf;p=dealii.git Avoid warning about uninitialized variable. --- 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::