Fixed unused parameter warning.
This commit is contained in:
@@ -447,7 +447,7 @@ protected:
|
||||
|
||||
virtual ~LightPointSystem() {}
|
||||
|
||||
virtual void readRecord(RecordInputStream& in, Document& document)
|
||||
virtual void readRecord(RecordInputStream& in, Document& /*document*/)
|
||||
{
|
||||
std::string id = in.readString(8);
|
||||
|
||||
@@ -483,7 +483,7 @@ protected:
|
||||
_parent->addChild(*((osg::Group*)_switch.get()));
|
||||
}
|
||||
|
||||
virtual void dispose(Document& document)
|
||||
virtual void dispose(Document& /*document*/)
|
||||
{
|
||||
if (!_switch.valid()) return;
|
||||
|
||||
|
||||
@@ -767,7 +767,7 @@ public:
|
||||
protected:
|
||||
|
||||
virtual ~InstanceDefinition() {}
|
||||
virtual void readRecord(RecordInputStream& in, Document& document)
|
||||
virtual void readRecord(RecordInputStream& in, Document& /*document*/)
|
||||
{
|
||||
in.forward(2);
|
||||
_number = (int)in.readUInt16();
|
||||
|
||||
@@ -185,7 +185,7 @@ ReaderWriter::ReadResult ReaderWriterATTR::readObject(const std::string& file, c
|
||||
|
||||
|
||||
ReaderWriter::WriteResult
|
||||
ReaderWriterATTR::writeObject(const osg::Object& object, const std::string& fileName, const Options* options) const
|
||||
ReaderWriterATTR::writeObject(const osg::Object& object, const std::string& fileName, const Options* /*options*/) const
|
||||
{
|
||||
using std::ios;
|
||||
|
||||
|
||||
@@ -172,7 +172,7 @@ VertexPaletteManager::write( DataOutputStream& dos ) const
|
||||
|
||||
|
||||
VertexPaletteManager::PaletteRecordType
|
||||
VertexPaletteManager::recordType( const osg::Array* v, const osg::Array* c,
|
||||
VertexPaletteManager::recordType( const osg::Array* /*v*/, const osg::Array* /*c*/,
|
||||
const osg::Array* n, const osg::Array* t )
|
||||
{
|
||||
if (t)
|
||||
|
||||
@@ -50,7 +50,7 @@ static unsigned int LAYER_7( 0x80000000 >> 6 );
|
||||
|
||||
|
||||
bool
|
||||
FltExportVisitor::isLit( const osg::Geometry& geom ) const
|
||||
FltExportVisitor::isLit( const osg::Geometry& /*geom*/ ) const
|
||||
{
|
||||
const osg::StateSet* ss = getCurrentStateSet();
|
||||
if ( ss->getMode( GL_LIGHTING ) & osg::StateAttribute::ON )
|
||||
|
||||
Reference in New Issue
Block a user