From cf856d0a6bc1129e908cac2d8496af838b78b053 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 1 Jul 2014 10:08:00 +0000 Subject: [PATCH] Reasonable but harmless clang warning cleanup --- vcg/space/intersection3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/space/intersection3.h b/vcg/space/intersection3.h index bc90c8a1..877d6534 100644 --- a/vcg/space/intersection3.h +++ b/vcg/space/intersection3.h @@ -662,7 +662,7 @@ bool IntersectionTriangleBox(const vcg::Box3 &bbox, diag[1]=Segment3(bbox.P(1),bbox.P(6)); diag[2]=Segment3(bbox.P(2),bbox.P(5)); diag[3]=Segment3(bbox.P(3),bbox.P(4)); - ScalarType a,b,dist; + ScalarType a,b; for (int i=0;i<3;i++) if (IntersectionSegmentTriangle(diag[i],p0,p1,p2,a,b)) return true;