Fixed unused parameter warning.
This commit is contained in:
parent
7b7899154c
commit
ae98593403
@ -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)
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user