From 10e27681dd35a336fb84964720bb59b449e85610 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 7 Jun 2016 08:53:42 +0100 Subject: [PATCH] Fixed "unreferenced formal parameter" warnings --- include/osg/GLObjects | 6 +++--- include/osgShadow/ViewDependentShadowTechnique | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/osg/GLObjects b/include/osg/GLObjects index 2a50e8593..84b5ec308 100644 --- a/include/osg/GLObjects +++ b/include/osg/GLObjects @@ -61,11 +61,11 @@ class OSG_EXPORT GraphicsObjectManager : public osg::Referenced unsigned int getContextID() const { return _contextID; } /** Signal that a new frame has started.*/ - virtual void newFrame(osg::FrameStamp* fs) {} + virtual void newFrame(osg::FrameStamp* /*fs*/) {} virtual void resetStats() {} - virtual void reportStats(std::ostream& out) {} - virtual void recomputeStats(std::ostream& out) const {} + virtual void reportStats(std::ostream& /*out*/) {} + virtual void recomputeStats(std::ostream& /*out*/) const {} /** Flush all deleted OpenGL objects within the specified availableTime. diff --git a/include/osgShadow/ViewDependentShadowTechnique b/include/osgShadow/ViewDependentShadowTechnique index a7a875dfc..8b35683c1 100644 --- a/include/osgShadow/ViewDependentShadowTechnique +++ b/include/osgShadow/ViewDependentShadowTechnique @@ -206,7 +206,7 @@ protected: */ osg::observer_ptr< ViewDependentShadowTechnique > _st; - virtual void resizeGLObjectBuffers(unsigned int maxSize) {} + virtual void resizeGLObjectBuffers(unsigned int /*maxSize*/) {} /** If State is non-zero, this function releases any associated OpenGL objects for * the specified graphics context. Otherwise, releases OpenGL objects