From Jordi Torres, removed unused local variables

This commit is contained in:
Robert Osfield
2017-12-02 17:52:47 +00:00
parent 847e472130
commit c85e56940e
2 changed files with 0 additions and 5 deletions

View File

@@ -77,10 +77,6 @@ void StatsActionVisitor::apply(ActionStripAnimation& action)
if (isActive(action))
{
_channels.push_back(action.getName());
double value;
std::string name = action.getName();
if (_stats->getAttribute(_frame, name, value))
name += "+";
_stats->setAttribute(_frame, action.getName(), action.getAnimation()->getAnimation()->getWeight());
}
}

View File

@@ -860,7 +860,6 @@ void OutputStream::writeSchema( std::ostream& fout )
ObjectWrapper::TypeList types;
wrapper->writeSchema( properties, types );
std::string propertiesString;
unsigned int size = osg::minimum( properties.size(), types.size() );
for ( unsigned int i=0; i<size; ++i )
{