diff --git a/src/osgShadow/OccluderGeometry.cpp b/src/osgShadow/OccluderGeometry.cpp index 9a5d3dc12..d716d79a5 100644 --- a/src/osgShadow/OccluderGeometry.cpp +++ b/src/osgShadow/OccluderGeometry.cpp @@ -184,7 +184,10 @@ struct TriangleCollector OccluderGeometry::Vec3List _tempoaryTriangleVertices; - TriangleCollector():_matrix(0) { } + TriangleCollector(): + _vertices(0), + _triangleIndices(0), + _matrix(0) { } void set(OccluderGeometry::Vec3List* vertices, OccluderGeometry::UIntList* triangleIndices, osg::Matrix* matrix) {