Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 11:48:02 +01:00
parent 8a3b56cc59
commit c8d14a1745

View File

@ -72,7 +72,7 @@ public:
} }
/** Deprecated, Handle events, return true if handled, false otherwise. */ /** Deprecated, Handle events, return true if handled, false otherwise. */
virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa) virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/)
{ {
if (ea.getEventType() == osgGA::GUIEventAdapter::KEYUP) if (ea.getEventType() == osgGA::GUIEventAdapter::KEYUP)
{ {
@ -122,7 +122,7 @@ public:
void set( bool value ) { _value = value; } void set( bool value ) { _value = value; }
/** Deprecated, Handle events, return true if handled, false otherwise. */ /** Deprecated, Handle events, return true if handled, false otherwise. */
virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa) virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/)
{ {
if (ea.getEventType() == osgGA::GUIEventAdapter::KEYUP) if (ea.getEventType() == osgGA::GUIEventAdapter::KEYUP)
{ {
@ -149,7 +149,7 @@ public:
bool getAnimating() const { return _animating; } bool getAnimating() const { return _animating; }
/** Deprecated, Handle events, return true if handled, false otherwise. */ /** Deprecated, Handle events, return true if handled, false otherwise. */
virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa) virtual bool handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/)
{ {
if (ea.getEventType() == osgGA::GUIEventAdapter::KEYUP) if (ea.getEventType() == osgGA::GUIEventAdapter::KEYUP)
{ {
@ -622,7 +622,7 @@ namespace ModelFive
return apcb.release(); return apcb.release();
} }
osg::Group* createModel(osg::ArgumentParser& arguments) osg::Group* createModel(osg::ArgumentParser& /*arguments*/)
{ {
// Set the ground (only receives shadow) // Set the ground (only receives shadow)
osg::ref_ptr<osg::MatrixTransform> groundNode = new osg::MatrixTransform; osg::ref_ptr<osg::MatrixTransform> groundNode = new osg::MatrixTransform;