From c7c1f6a27e884b9b71799b4e7e828c5b98f09bd7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 12:21:51 +0100 Subject: [PATCH] Fixed unused parameter warning. --- examples/osgtexture2DArray/osgtexture2DArray.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgtexture2DArray/osgtexture2DArray.cpp b/examples/osgtexture2DArray/osgtexture2DArray.cpp index c5bd52ead..9f4fe7c30 100644 --- a/examples/osgtexture2DArray/osgtexture2DArray.cpp +++ b/examples/osgtexture2DArray/osgtexture2DArray.cpp @@ -42,8 +42,8 @@ typedef std::vector< osg::ref_ptr > ImageList; class SubloadCallback : public osg::Texture2DArray::SubloadCallback { public: - virtual void load(const osg::Texture2DArray& texture, osg::State& state) const { } - virtual void subload(const osg::Texture2DArray& texture, osg::State& state) const { } + virtual void load(const osg::Texture2DArray& /*texture*/, osg::State& /*state*/) const { } + virtual void subload(const osg::Texture2DArray& /*texture*/, osg::State& /*state*/) const { } };