Fixed warnings
This commit is contained in:
@@ -665,7 +665,7 @@ bool PixelBufferWin32::realizeImplementation()
|
||||
|
||||
if (_traits->sharedContext)
|
||||
{
|
||||
HGLRC hglrc;
|
||||
HGLRC hglrc = 0;
|
||||
|
||||
GraphicsWindowWin32* graphicsWindowWin32 = dynamic_cast<GraphicsWindowWin32*>(_traits->sharedContext);
|
||||
if (graphicsWindowWin32)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user