From: Timo Heister Date: Mon, 3 Mar 2025 21:44:00 +0000 (-0500) Subject: fix warning in Assert macro X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F18189%2Fhead;p=dealii.git fix warning in Assert macro --- diff --git a/include/deal.II/base/exception_macros.h b/include/deal.II/base/exception_macros.h index 53c72169f3..6a6bef4810 100644 --- a/include/deal.II/base/exception_macros.h +++ b/include/deal.II/base/exception_macros.h @@ -641,7 +641,8 @@ DEAL_II_ENABLE_EXTRA_DIAGNOSTICS { \ if constexpr (false) \ if (!(cond)) \ - ; \ + { \ + } \ } \ while (false) # endif