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 { } };