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