From 4e442f483f28540ca206c0c00b6bb1566a46801f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 10:46:45 +0100 Subject: [PATCH] Fixed unused parameter warning. --- src/osgPlugins/p3d/ReaderWriterPaths.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/osgPlugins/p3d/ReaderWriterPaths.cpp b/src/osgPlugins/p3d/ReaderWriterPaths.cpp index 4a77a8b27..6a520ac9b 100644 --- a/src/osgPlugins/p3d/ReaderWriterPaths.cpp +++ b/src/osgPlugins/p3d/ReaderWriterPaths.cpp @@ -123,7 +123,7 @@ osgDB::ReaderWriter::ReadResult ReaderWriterPaths::readObject(std::istream& fin, return ReadResult::FILE_NOT_HANDLED; } -osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_material(std::istream& fin, const osgDB::Options* options) const +osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_material(std::istream& fin, const osgDB::Options* /*options*/) const { osg::ref_ptr animationMaterial = new osgPresentation::AnimationMaterial; animationMaterial->read(fin); @@ -131,14 +131,14 @@ osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_material(std::istream& f return animationMaterial.get(); } -osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_path(std::istream& fin, const osgDB::Options* options) const +osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_path(std::istream& fin, const osgDB::Options* /*options*/) const { osg::ref_ptr animation = new osg::AnimationPath; animation->read(fin); return animation.get(); } -osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_pivot_path(std::istream& fin, const osgDB::Options* options) const +osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_pivot_path(std::istream& fin, const osgDB::Options* /*options*/) const { osg::ref_ptr animation = new osg::AnimationPath; @@ -203,7 +203,7 @@ struct RotationPathData }; -osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_rotation_path(std::istream& fin, const osgDB::Options* options) const +osgDB::ReaderWriter::ReadResult ReaderWriterPaths::read_rotation_path(std::istream& fin, const osgDB::Options* /*options*/) const { osg::ref_ptr animation = new osg::AnimationPath;