Fix some compiler warnings

This commit is contained in:
Ahmed Essam 2020-08-20 15:06:04 +02:00
parent 4bc9d2bff2
commit 4e3c64f488
2 changed files with 4 additions and 3 deletions

View File

@ -852,8 +852,9 @@ bool get_range_MAA_1(int var, const NT& l_, const NT& r_, const NT& key,
eval1 = CGAL_SGN(low);
eval2 = CGAL_SGN(up);
} else if(d == 0)
} else if(d == 0) {
;//Gfx_DETAILED_OUT("MAA bounds: sign change\n");
}
if(d == 1 && check == 3) {
first_der = (eval1*eval2 < 0);

View File

@ -241,7 +241,7 @@ struct Curve_renderer_traits_base
typedef void result_type;
template <class Float>
void operator()(const Float& x) const
void operator()(const Float& /*x*/) const
{ }
};
@ -251,7 +251,7 @@ struct Curve_renderer_traits_base
typedef bool result_type;
template <class Float>
bool operator()(const Float& x) const
bool operator()(const Float& /*x*/) const
{ return false;/*(CGAL_ABS(x) <= 1e-16)*/; }
};