FIxed a few clang warnings.

This commit is contained in:
Maciej Suminski
2015-03-09 11:06:54 +01:00
parent 5d8f7ba0e6
commit e6a10faab7
15 changed files with 20 additions and 82 deletions
-3
View File
@@ -137,12 +137,9 @@ static inline bool Collide( const SHAPE_CIRCLE& aA, const SHAPE_LINE_CHAIN& aB,
bool aNeedMTV, VECTOR2I& aMTV )
{
bool found = false;
VECTOR2I::extended_type clSq = (VECTOR2I::extended_type) aClearance * aClearance;
for( int s = 0; s < aB.SegmentCount(); s++ )
{
if( aA.Collide( aB.CSegment( s ), aClearance ) )
{
found = true;