Commit dbb72d16 authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

fix some compiler warnings

parent 6b08cb4c
Loading
Loading
Loading
Loading
+45 −47
Original line number Diff line number Diff line
@@ -220,9 +220,7 @@ bool CollideShapes( const SHAPE* aA, const SHAPE* aB, int aClearance,
        break;
    }

    bool unsupported_collision = true;

    assert( unsupported_collision == false );
    assert( 0 );    // unsupported_collision

    return false;
}
+7 −0
Original line number Diff line number Diff line
@@ -133,11 +133,15 @@ void Triangle::ClearDelunayEdges()
Point* Triangle::OppositePoint( Triangle& t, Point& p )
{
    Point*  cw  = t.PointCW( p );

    /*
    double  x   = cw->x;
    double  y   = cw->y;

    x   = p.x;
    y   = p.y;
    */

    return PointCW( *cw );
}

@@ -195,6 +199,7 @@ int Triangle::Index( const Point* p )
    }

    assert( 0 );
    return 0;           // you better hope its a Debug build.
}


@@ -285,6 +290,7 @@ Point* Triangle::PointCW( Point& point )
    }

    assert( 0 );
    return NULL;    // you better hope its a Debug build.
}


@@ -305,6 +311,7 @@ Point* Triangle::PointCCW( Point& point )
    }

    assert( 0 );
    return NULL;    // you better hope its a Debug build.
}