Warning fixes for Clang-3.6
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15016 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -225,7 +225,8 @@ void DebugShadowMap::ViewData::setDebugPolytope
|
||||
{
|
||||
if( !getDebugDraw() ) return;
|
||||
|
||||
if( &polytope == NULL ) { // delete
|
||||
const ConvexPolyhedron* polytope_ptr = &polytope;
|
||||
if( polytope_ptr == NULL ) { // delete
|
||||
PolytopeGeometry & pg = _polytopeGeometryMap[ std::string( name ) ];
|
||||
for( unsigned int i = 0; i < VECTOR_LENGTH( pg._geometry ) ; i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user