From b67a331627723143ffa337838627b3715d8e08bc Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 12:21:29 +0100 Subject: [PATCH] Fixed unused parameter warning. --- examples/osganimationtimeline/osganimationtimeline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osganimationtimeline/osganimationtimeline.cpp b/examples/osganimationtimeline/osganimationtimeline.cpp index 4885e7b06..17f87b2ad 100644 --- a/examples/osganimationtimeline/osganimationtimeline.cpp +++ b/examples/osganimationtimeline/osganimationtimeline.cpp @@ -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;