From 744421631e6958b47d2e064859fde04f229f63f7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Jun 2016 11:50:18 +0100 Subject: [PATCH] Fixed unused parameter warning. --- examples/osgsharedarray/osgsharedarray.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/osgsharedarray/osgsharedarray.cpp b/examples/osgsharedarray/osgsharedarray.cpp index 75cbc5b6c..643ddbd64 100644 --- a/examples/osgsharedarray/osgsharedarray.cpp +++ b/examples/osgsharedarray/osgsharedarray.cpp @@ -52,7 +52,7 @@ public: } /** Copy ctor. */ - MyArray(const MyArray& other, const osg::CopyOp& copyop) : + MyArray(const MyArray& other, const osg::CopyOp& /*copyop*/) : osg::Array(osg::Array::Vec3ArrayType,3,GL_FLOAT), _numElements(other._numElements), _ptr(other._ptr) { @@ -125,8 +125,8 @@ public: return _numElements * sizeof(osg::Vec3); } - virtual void reserveArray(unsigned int num) { OSG_NOTICE<<"reserveArray() not supported"<