Skip to content

Commit

Permalink
Remove null statements after while loops
Browse files Browse the repository at this point in the history
  • Loading branch information
dsieger committed Aug 5, 2022
1 parent d902e84 commit cafc992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pmp/SurfaceMesh.cpp
Expand Up @@ -1198,7 +1198,7 @@ void SurfaceMesh::garbage_collection()

// swap
vprops_.swap(i0, i1);
};
}

// remember new size
nV = vdeleted_[Vertex(i0)] ? i0 : i0 + 1;
Expand All @@ -1224,7 +1224,7 @@ void SurfaceMesh::garbage_collection()
eprops_.swap(i0, i1);
hprops_.swap(2 * i0, 2 * i1);
hprops_.swap(2 * i0 + 1, 2 * i1 + 1);
};
}

// remember new size
nE = edeleted_[Edge(i0)] ? i0 : i0 + 1;
Expand All @@ -1249,7 +1249,7 @@ void SurfaceMesh::garbage_collection()

// swap
fprops_.swap(i0, i1);
};
}

// remember new size
nF = fdeleted_[Face(i0)] ? i0 : i0 + 1;
Expand Down

0 comments on commit cafc992

Please sign in to comment.