From de82965ddc8620419acaec9895d11803cccb7ec8 Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Thu, 26 Sep 2024 17:38:54 +0200 Subject: [PATCH] fix clippy --- src/query/epa/epa3.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/query/epa/epa3.rs b/src/query/epa/epa3.rs index c8de9b50..9f8bdc90 100644 --- a/src/query/epa/epa3.rs +++ b/src/query/epa/epa3.rs @@ -373,7 +373,6 @@ impl EPA { for edge in &self.silhouette { if !self.faces[edge.face_id].deleted { let new_face_id = self.faces.len(); - let new_face; let face_adj = &mut self.faces[edge.face_id]; let pt_id1 = face_adj.pts[(edge.opp_pt_id + 2) % 3]; @@ -381,7 +380,7 @@ impl EPA { let pts = [pt_id1, pt_id2, support_point_id]; let adj = [edge.face_id, new_face_id + 1, new_face_id - 1]; - new_face = Face::new(&self.vertices, pts, adj); + let new_face = Face::new(&self.vertices, pts, adj); face_adj.adj[(edge.opp_pt_id + 1) % 3] = new_face_id;