diff --git a/examples/osgocclusionquery/osgocclusionquery.cpp b/examples/osgocclusionquery/osgocclusionquery.cpp index 9d2643d43..bc558d610 100644 --- a/examples/osgocclusionquery/osgocclusionquery.cpp +++ b/examples/osgocclusionquery/osgocclusionquery.cpp @@ -285,7 +285,7 @@ OcclusionQueryVisitor::getOccluderThreshold() const } void -OcclusionQueryVisitor::apply( osg::OcclusionQueryNode& oqn ) +OcclusionQueryVisitor::apply( osg::OcclusionQueryNode& /*oqn*/ ) { // A subgraph is already under osgOQ control. // Don't traverse further.