Parcourir la source

bugfix : fix a w4 compiler warning.

Signed-off-by: Kim <Kulling>
Kim il y a 12 ans
Parent
commit
3587eef6eb
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      code/IFCBoolean.cpp

+ 2 - 1
code/IFCBoolean.cpp

@@ -381,7 +381,8 @@ void ProcessPolygonalBoundedBooleanHalfSpaceDifference(const IfcPolygonalBounded
 		unsigned int newcount = 0;
 		unsigned int newcount = 0;
 		bool was_outside_boundary = !PointInPoly(proj * in[vidx], profile->verts);
 		bool was_outside_boundary = !PointInPoly(proj * in[vidx], profile->verts);
 
 
-		size_t last_intersected_boundary_segment;
+		// used any more?
+		//size_t last_intersected_boundary_segment;
 		IfcVector3 last_intersected_boundary_point;
 		IfcVector3 last_intersected_boundary_point;
 
 
 		bool extra_point_flag = false;
 		bool extra_point_flag = false;