Skip to content

Commit

Permalink
PMP: Initialize to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Nov 8, 2024
1 parent dd334d3 commit fcf062b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Polygon_mesh_processing/include/CGAL/Polyhedral_envelope.h
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ struct Polyhedral_envelope {
{
Vector_3 bmin, bmax;

Orientation ori;
Orientation ori = ON_ORIENTED_BOUNDARY; // to avoid maybe uninitialzed warning

for (unsigned int i = 0; i < prismindex.size(); i++){
if (prismindex[i] == jump){
Expand Down

0 comments on commit fcf062b

Please sign in to comment.