From eae28e4d91d72bb222af8c96193975300d00bd9f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 10:15:51 +0100 Subject: [PATCH] Fixed unused parameter warning. --- src/osgPlugins/3ds/ReaderWriter3DS.cpp | 2 +- src/osgPlugins/3ds/WriterNodeVisitor.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/osgPlugins/3ds/ReaderWriter3DS.cpp b/src/osgPlugins/3ds/ReaderWriter3DS.cpp index 277706f28..cff23d388 100644 --- a/src/osgPlugins/3ds/ReaderWriter3DS.cpp +++ b/src/osgPlugins/3ds/ReaderWriter3DS.cpp @@ -693,7 +693,7 @@ static size_t fileo_write_func(void *self, const void *buffer, size_t size) return f->fail() ? 0 : size; } -static void fileio_log_func(void *self, Lib3dsLogLevel level, int indent, const char *msg) +static void fileio_log_func(void* /*self*/, Lib3dsLogLevel level, int /*indent*/, const char *msg) { osg::NotifySeverity l = osg::INFO; // Intentionally NOT mapping 3DS levels with OSG levels diff --git a/src/osgPlugins/3ds/WriterNodeVisitor.cpp b/src/osgPlugins/3ds/WriterNodeVisitor.cpp index af9189a03..0f94456cc 100644 --- a/src/osgPlugins/3ds/WriterNodeVisitor.cpp +++ b/src/osgPlugins/3ds/WriterNodeVisitor.cpp @@ -145,14 +145,14 @@ public: virtual void setVertexArray(unsigned int,const osg::Vec2*) {} - virtual void setVertexArray(unsigned int count,const osg::Vec3* vecs) {} + virtual void setVertexArray(unsigned int,const osg::Vec3*) {} - virtual void setVertexArray(unsigned int,const osg::Vec4* ) {} + virtual void setVertexArray(unsigned int,const osg::Vec4*) {} virtual void setVertexArray(unsigned int,const osg::Vec2d*) {} - virtual void setVertexArray(unsigned int ,const osg::Vec3d* ) {} - virtual void setVertexArray(unsigned int,const osg::Vec4d* ) {} + virtual void setVertexArray(unsigned int ,const osg::Vec3d*) {} + virtual void setVertexArray(unsigned int,const osg::Vec4d*) {} // operator for triangles