From: Daniel Arndt Date: Tue, 28 Aug 2018 10:16:41 +0000 (+0200) Subject: Avoid warning about unused variable in configure_tapeless_mode X-Git-Tag: v9.1.0-rc1~767^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7128%2Fhead;p=dealii.git Avoid warning about unused variable in configure_tapeless_mode --- diff --git a/include/deal.II/differentiation/ad/ad_drivers.h b/include/deal.II/differentiation/ad/ad_drivers.h index d5711c6ebd..fa32e3eb68 100644 --- a/include/deal.II/differentiation/ad/ad_drivers.h +++ b/include/deal.II/differentiation/ad/ad_drivers.h @@ -1273,7 +1273,7 @@ namespace Differentiation template typename std::enable_if::type_code == NumberTypes::adolc_tapeless>::type - configure_tapeless_mode(const unsigned int n_directional_derivatives) + configure_tapeless_mode(const unsigned int /*n_directional_derivatives*/) { AssertThrow(false, ExcRequiresAdolC()); }