Fixed warnings

This commit is contained in:
Robert Osfield
2009-01-07 11:24:47 +00:00
parent 98bd058317
commit 418dc34776
43 changed files with 67 additions and 65 deletions

View File

@@ -665,7 +665,7 @@ bool PixelBufferWin32::realizeImplementation()
if (_traits->sharedContext)
{
HGLRC hglrc;
HGLRC hglrc = 0;
GraphicsWindowWin32* graphicsWindowWin32 = dynamic_cast<GraphicsWindowWin32*>(_traits->sharedContext);
if (graphicsWindowWin32)

View File

@@ -1901,8 +1901,6 @@ bool View::computeIntersections(float x,float y, osgUtil::LineSegmentIntersector
intersections.clear();
return false;
}
return false;
}
bool View::computeIntersections(float x,float y, const osg::NodePath& nodePath, osgUtil::LineSegmentIntersector::Intersections& intersections,osg::Node::NodeMask traversalMask)

View File

@@ -288,8 +288,6 @@ bool Viewer::readConfiguration(const std::string& filename)
osg::notify(osg::NOTICE)<<"Error: Config file \""<<filename<<"\" does not contain a valid Viewer configuration."<<std::endl;
return false;
}
return false;
}
bool Viewer::isRealized() const