Fixed unused parameter warning.

This commit is contained in:
Robert Osfield 2016-06-08 10:59:55 +01:00
parent 7b7899154c
commit ae98593403
2 changed files with 2 additions and 2 deletions

View File

@ -1843,7 +1843,7 @@ LuaScriptEngine::LuaScriptEngine():
initialize();
}
LuaScriptEngine::LuaScriptEngine(const LuaScriptEngine& rhs, const osg::CopyOp&):
LuaScriptEngine::LuaScriptEngine(const LuaScriptEngine&, const osg::CopyOp&):
osg::ScriptEngine("lua"),
_lua(0),
_scriptCount(0)

View File

@ -160,7 +160,7 @@ class ReaderWriterLua : public osgDB::ReaderWriter
return readNode(istream, local_opt.get());
}
virtual ReadResult readScript(std::istream& fin,const osgDB::ReaderWriter::Options* options =NULL) const
virtual ReadResult readScript(std::istream& fin,const osgDB::ReaderWriter::Options* /*options*/ =NULL) const
{
osg::ref_ptr<osg::Script> script = new osg::Script;
script->setLanguage("lua");