Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 12:21:29 +01:00
parent 6c8bcc5009
commit b67a331627

View File

@ -38,7 +38,7 @@
struct NoseBegin : public osgAnimation::Action::Callback
{
virtual void operator()(osgAnimation::Action* action, osgAnimation::ActionVisitor* nv)
virtual void operator()(osgAnimation::Action* action, osgAnimation::ActionVisitor* /*nv*/)
{
std::cout << "sacrebleu, it scratches my nose, let me scratch it" << std::endl;
std::cout << "process NoseBegin call back " << action->getName() << std::endl << std::endl;
@ -47,7 +47,7 @@ struct NoseBegin : public osgAnimation::Action::Callback
struct NoseEnd : public osgAnimation::Action::Callback
{
virtual void operator()(osgAnimation::Action* action, osgAnimation::ActionVisitor* nv)
virtual void operator()(osgAnimation::Action* action, osgAnimation::ActionVisitor* /*nv*/)
{
std::cout << "shhhrt shrrrrt shhhhhhrrrrt, haaa it's better"<< std::endl;
std::cout << "process NoseEnd call back " << action->getName() << std::endl << std::endl;