From: Timo Heister Date: Mon, 16 Nov 2015 13:36:03 +0000 (-0500) Subject: fix trilinos warning X-Git-Tag: v8.4.0-rc2~226^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1874%2Fhead;p=dealii.git fix trilinos warning --- diff --git a/source/lac/trilinos_precondition_ml.cc b/source/lac/trilinos_precondition_ml.cc index df79ff867b..0b7d96eee9 100644 --- a/source/lac/trilinos_precondition_ml.cc +++ b/source/lac/trilinos_precondition_ml.cc @@ -183,6 +183,7 @@ namespace TrilinosWrappers if (constant_modes_dimension > 0) { const size_type global_size = n_global_rows(matrix); + (void)global_length; // work around compiler warning about unused function in release mode Assert (global_size == static_cast(global_length(distributed_constant_modes)), ExcDimensionMismatch(global_size,