From 5f038e85ef8970a2e9498202b116a1dd7e562fbe Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 26 May 2017 20:57:42 +0200 Subject: [PATCH] Removed warning about unused variables --- xs/src/libslic3r/Geometry.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xs/src/libslic3r/Geometry.cpp b/xs/src/libslic3r/Geometry.cpp index 6012fd53b..7bcb644da 100644 --- a/xs/src/libslic3r/Geometry.cpp +++ b/xs/src/libslic3r/Geometry.cpp @@ -507,9 +507,6 @@ MedialAxis::build(ThickPolylines* polylines) } */ - typedef const VD::vertex_type vert_t; - typedef const VD::edge_type edge_t; - // collect valid edges (i.e. prune those not belonging to MAT) // note: this keeps twins, so it inserts twice the number of the valid edges this->valid_edges.clear(); @@ -534,7 +531,7 @@ MedialAxis::build(ThickPolylines* polylines) // iterate through the valid edges to build polylines while (!this->edges.empty()) { - const edge_t* edge = *this->edges.begin(); + const VD::edge_type* edge = *this->edges.begin(); // start a polyline ThickPolyline polyline;