From 20148c5b8d9b8db9608efeb09dbe1b5705463f49 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 11:05:29 +0100 Subject: [PATCH] Fixed unused parameter warning. --- examples/osgcallback/osgcallback.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgcallback/osgcallback.cpp b/examples/osgcallback/osgcallback.cpp index 485825ce1..661b8e08e 100644 --- a/examples/osgcallback/osgcallback.cpp +++ b/examples/osgcallback/osgcallback.cpp @@ -162,7 +162,7 @@ struct TestDrawableUpdateCallback : public osg::DrawableUpdateCallback { TestDrawableUpdateCallback(const std::string &message): _message(message) {} - virtual void update(osg::NodeVisitor*, osg::Drawable* drw) { + virtual void update(osg::NodeVisitor*, osg::Drawable* /*drw*/) { printf("%s\n", _message.c_str()); } std::string _message; @@ -172,7 +172,7 @@ struct TestNodeUpdateCallback : public osg::NodeCallback { TestNodeUpdateCallback(const std::string &message): _message(message) {} - virtual void operator()(osg::Node* node, osg::NodeVisitor* nv) { + virtual void operator()(osg::Node* /*node*/, osg::NodeVisitor* /*nv*/) { printf("%s\n", _message.c_str()); } std::string _message;