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) :