Merge pull request #447 from LaurensVoerman/submit_remove_unused_vars

remove unused variable "newArrays"
This commit is contained in:
OpenSceneGraph git repository 2018-01-15 16:30:44 +00:00 committed by GitHub
commit ee7e7a7019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,9 +256,7 @@ public:
{
OSG_NOTICE<<"Reallocating Arrays"<<std::endl;
typedef std::vector< osg::ref_ptr<osg::Array> > ArrayVector;
typedef std::vector< osg::ref_ptr<osg::Geometry> > GeometryVector;
ArrayVector newArrays;
GeometryVector newGeometries;
for(GeometryMap::iterator itr = _geometryMap.begin();
itr != _geometryMap.end();