Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 12:22:12 +01:00
parent c7c1f6a27e
commit 8653c83342

View File

@ -87,7 +87,7 @@ public:
_incrementalCompileOperation(ico),
_block(block) {}
virtual void operator () (osg::Object* object)
virtual void operator () (osg::Object* /*object*/)
{
// osg::notify(osg::NOTICE)<<"LoadAndCompileOperation "<<_filename<<std::endl;
@ -481,7 +481,7 @@ public:
FilterHandler(osgTerrain::GeometryTechnique* gt):
_gt(gt) {}
bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/)
{
if (!_gt) return false;
@ -555,7 +555,7 @@ public:
LayerHandler(osgTerrain::Layer* layer):
_layer(layer) {}
bool handle(const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/)
{
if (!_layer) return false;