Skip to content

Commit

Permalink
Inline redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Jul 14, 2023
1 parent 9335182 commit 5fbfb2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/fj-core/src/validate/shell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,9 @@ impl ShellValidationError {
_: &ValidationConfig,
errors: &mut Vec<ValidationError>,
) {
let faces = shell.faces();
let mut half_edge_to_faces: HashMap<ObjectId, usize> = HashMap::new();

for face in faces {
for face in shell.faces() {
for cycle in face.region().all_cycles() {
for half_edge in cycle.half_edges() {
let id = half_edge.global_form().id();
Expand Down

0 comments on commit 5fbfb2a

Please sign in to comment.