From ad20fa497a51451fc1d5de3019cd0eebc0e64fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 3 Jun 2025 18:44:59 +0200 Subject: [PATCH] always declare a value you are using --- Number_types/include/CGAL/FPU.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Number_types/include/CGAL/FPU.h b/Number_types/include/CGAL/FPU.h index 3cdcd682981..41f67f940dc 100644 --- a/Number_types/include/CGAL/FPU.h +++ b/Number_types/include/CGAL/FPU.h @@ -486,7 +486,8 @@ FPU_CW_t FPU_get_cw (void) { #ifdef CGAL_ALWAYS_ROUND_TO_NEAREST - CGAL_assertion_code(FPU_CW_t cw; CGAL_IA_GETFPCW(cw);) + FPU_CW_t cw; + CGAL_IA_GETFPCW(cw); CGAL_assertion_code(FPU_CW_t mask = CGAL_FE_ROUNDING_MASK;) CGAL_assertion((cw & mask) == (CGAL_FE_TONEAREST & mask)); return cw;