From David Callu, warning fixes and removal of spaces at end of lines.

This commit is contained in:
Robert Osfield
2013-06-28 12:00:43 +00:00
parent d82768417d
commit 097aedf23c
100 changed files with 496 additions and 428 deletions

View File

@@ -247,7 +247,7 @@ void FixedFunctionTechnique::init()
_node = texgenNode_0;
}
void FixedFunctionTechnique::update(osgUtil::UpdateVisitor* uv)
void FixedFunctionTechnique::update(osgUtil::UpdateVisitor* /*uv*/)
{
// OSG_NOTICE<<"FixedFunctionTechnique:update(osgUtil::UpdateVisitor* nv):"<<std::endl;
}

View File

@@ -28,6 +28,7 @@ ImageDetails::ImageDetails():
}
ImageDetails::ImageDetails(const ImageDetails& rhs,const osg::CopyOp& copyop):
osg::Object(rhs, copyop),
_texelOffset(rhs._texelOffset),
_texelScale(rhs._texelScale),
_matrix(rhs._matrix)
@@ -511,7 +512,7 @@ struct ApplyTransferFunctionOperator
luminance(a);
}
inline void luminance_alpha(float l,float a) const
inline void luminance_alpha(float l,float /*a*/) const
{
luminance(l);
}
@@ -521,7 +522,7 @@ struct ApplyTransferFunctionOperator
luminance((r+g+b)*0.3333333);
}
inline void rgba(float r,float g,float b,float a) const
inline void rgba(float /*r*/,float /*g*/,float /*b*/,float a) const
{
luminance(a);
}

View File

@@ -43,7 +43,7 @@ bool Locator::convertModelToLocal(const osg::Vec3d& world, osg::Vec3d& local) co
return true;
}
bool Locator::computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const
bool Locator::computeLocalBounds(Locator& /*source*/, osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const
{
typedef std::list<osg::Vec3d> Corners;
Corners corners;

View File

@@ -532,7 +532,7 @@ void RayTracedTechnique::init()
}
}
void RayTracedTechnique::update(osgUtil::UpdateVisitor* uv)
void RayTracedTechnique::update(osgUtil::UpdateVisitor* /*uv*/)
{
// OSG_NOTICE<<"RayTracedTechnique:update(osgUtil::UpdateVisitor* nv):"<<std::endl;
}