mirror of https://github.com/CGAL/cgal
always declare a value you are using
This commit is contained in:
parent
4cfd48ba76
commit
ad20fa497a
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue