Fixed warnings

This commit is contained in:
Robert Osfield
2009-01-07 10:32:59 +00:00
parent 85c510ba27
commit 98bd058317
15 changed files with 37 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ namespace osgTerrain {
struct ValidDataOperator : public osg::Referenced
{
virtual bool operator() (float value) const { return true; }
virtual bool operator() (float /*value*/) const { return true; }
virtual bool operator() (const osg::Vec2& value) const { return operator()(value.x()) && operator()(value.y()) ; }
virtual bool operator() (const osg::Vec3& value) const { return operator()(value.x()) && operator()(value.y()) && operator()(value.z()); }
virtual bool operator() (const osg::Vec4& value) const { return operator()(value.x()) && operator()(value.y()) && operator()(value.z()) && operator()(value.w()); }