From 799d25c070bda132415706e54983feb5b81a8aaf Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Mon, 3 Mar 2025 16:44:00 -0500 Subject: [PATCH] fix warning in Assert macro --- include/deal.II/base/exception_macros.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5