mirror of https://github.com/CGAL/cgal
Fix various warnings about unused variables/types
This commit is contained in:
parent
7981d7e334
commit
6330632723
|
|
@ -40,6 +40,7 @@ void test_algebraic_kernel_coeff_bound_rep() {
|
|||
Polynomial_1;
|
||||
typedef CGAL::internal::Algebraic_real_d_1
|
||||
< Coefficient, Bound, CGAL::Handle_policy_no_union, Rep_class > Algebraic_real_1;
|
||||
CGAL_USE_TYPE(Algebraic_real_1);
|
||||
|
||||
typedef CGAL::internal::Descartes< Polynomial_1, Bound > Descartes;
|
||||
typedef CGAL::internal::Bitstream_descartes<
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ int main() {
|
|||
std::cout << " TEST AK1 USING CORE " << std::endl;
|
||||
|
||||
typedef CGAL::CORE_arithmetic_kernel AK;
|
||||
typedef AK::Integer Integer;
|
||||
typedef AK::Rational Rational;
|
||||
|
||||
#if CGAL_TEST_ALL_AK_VARIANTS
|
||||
|
|
|
|||
|
|
@ -126,11 +126,11 @@ void test_real_embeddable_extension(const NT_&){
|
|||
template <typename AK>
|
||||
void test_real_embeddable_extension_ak(){
|
||||
typedef typename AK::Integer Integer;
|
||||
typedef typename AK::Rational Rational;
|
||||
typedef typename AK::Bigfloat Bigfloat;
|
||||
typedef typename AK::Bigfloat Bigfloat_interval;
|
||||
|
||||
test_real_embeddable_extension(Integer());
|
||||
//typedef typename AK::Rational Rational;
|
||||
//test_real_embeddable_extension(Rational()); TODO
|
||||
test_real_embeddable_extension(Bigfloat());
|
||||
test_real_embeddable_extension(Bigfloat_interval());
|
||||
|
|
|
|||
|
|
@ -3158,7 +3158,6 @@ OutputStream& operator<<(OutputStream& os,
|
|||
const Arr_extended_direction_3<Kernel>& ed)
|
||||
{
|
||||
#if defined(CGAL_ARR_GEODESIC_ARC_ON_SPHERE_DETAILS)
|
||||
CGAL::To_double<typename Kernel::FT> todouble;
|
||||
os << "("
|
||||
<< ed.dx() << ", " << ed.dy() << ", " << ed.dz();
|
||||
os << ")"
|
||||
|
|
@ -3167,7 +3166,8 @@ OutputStream& operator<<(OutputStream& os,
|
|||
ed.is_max_boundary() ? "max" :
|
||||
ed.is_mid_boundary() ? "dis" : "reg");
|
||||
#else
|
||||
// << static_cast<float>(todouble(ed.dx())) << ", "
|
||||
// CGAL::To_double<typename Kernel::FT> todouble;
|
||||
// os << static_cast<float>(todouble(ed.dx())) << ", "
|
||||
// << static_cast<float>(todouble(ed.dy())) << ", "
|
||||
// << static_cast<float>(todouble(ed.dz()));
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ bool test_one_file(std::ifstream& in_file, bool verbose)
|
|||
X_monotone_curve_2 xcv(points[cit->first], points[cit->second]);
|
||||
std::cout << "inserting " << xcv << " ... ";
|
||||
std::cout.flush();
|
||||
Halfedge_handle he = CGAL::insert_non_intersecting_curve(arr, xcv);
|
||||
CGAL::insert_non_intersecting_curve(arr, xcv);
|
||||
std::cout << "inserted" << std::endl;
|
||||
}
|
||||
curves.clear();
|
||||
|
|
|
|||
Loading…
Reference in New Issue