From: Daniel Arndt Date: Tue, 22 Dec 2020 22:18:55 +0000 (-0500) Subject: Silence unused parameter warning X-Git-Tag: v9.3.0-rc1~725^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11412%2Fhead;p=dealii.git Silence unused parameter warning --- diff --git a/include/deal.II/base/utilities.h b/include/deal.II/base/utilities.h index c0046ae2d1..84428a1f39 100644 --- a/include/deal.II/base/utilities.h +++ b/include/deal.II/base/utilities.h @@ -1194,6 +1194,7 @@ namespace Utilities if (std::is_trivially_copyable() && sizeof(T) < 256) #endif { + (void)allow_compression; const std::size_t previous_size = dest_buffer.size(); dest_buffer.resize(previous_size + sizeof(T)); @@ -1255,6 +1256,7 @@ namespace Utilities if (std::is_trivially_copyable() && sizeof(T) < 256) #endif { + (void)allow_compression; Assert(std::distance(cbegin, cend) == sizeof(T), ExcInternalError()); std::memcpy(&object, &*cbegin, sizeof(T)); }