Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 12:09:00 +01:00
parent 832fc29fc1
commit 0223fff99c

View File

@ -160,7 +160,7 @@ class RotateUpdateCallback : public osg::NodeCallback
{ {
public: public:
RotateUpdateCallback() { i=0;} RotateUpdateCallback() { i=0;}
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) virtual void operator()(osg::Node* node, osg::NodeVisitor* /*nv*/)
{ {
osgSim::SphereSegment * ss = dynamic_cast<osgSim::SphereSegment *>(node); osgSim::SphereSegment * ss = dynamic_cast<osgSim::SphereSegment *>(node);
if (ss) if (ss)