From 40ccf503e4cfb23727fed659eab17c204991042a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 25 Jun 2016 17:19:00 +0100 Subject: [PATCH] Fixed warnings --- examples/osggpucull/DrawIndirectPrimitiveSet.cpp | 2 +- include/osgAnimation/Channel | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osggpucull/DrawIndirectPrimitiveSet.cpp b/examples/osggpucull/DrawIndirectPrimitiveSet.cpp index 2d16ae92b..bbb5ff45b 100644 --- a/examples/osggpucull/DrawIndirectPrimitiveSet.cpp +++ b/examples/osggpucull/DrawIndirectPrimitiveSet.cpp @@ -34,7 +34,7 @@ void DrawArraysIndirect::draw(osg::State& state, bool /*useVertexBufferObjects*/ } -void MultiDrawArraysIndirect::draw(osg::State& state, bool useVertexBufferObjects) const +void MultiDrawArraysIndirect::draw(osg::State& state, bool /*useVertexBufferObjects*/) const { // DrawIndirectGLExtensions *ext = DrawIndirectGLExtensions::getExtensions( state.getContextID(),true ); state.get()->glMultiDrawArraysIndirect( _mode, reinterpret_cast(_indirect), _drawcount, _stride ); diff --git a/include/osgAnimation/Channel b/include/osgAnimation/Channel index 365c3a55c..5ed868204 100644 --- a/include/osgAnimation/Channel +++ b/include/osgAnimation/Channel @@ -81,7 +81,7 @@ namespace osgAnimation typedef TemplateKeyframeContainer KeyframeContainerType; Object* cloneType() const { return new TemplateChannel(); } - Object* clone(const osg::CopyOp& copyop) const { return new TemplateChannel(*this); } + Object* clone(const osg::CopyOp&) const { return new TemplateChannel(*this); } Channel* clone() const { return new TemplateChannel(*this); } TemplateChannel (const TemplateChannel& channel) :