Commit 6a3b4f53 authored by David Gobbi's avatar David Gobbi Committed by Code Review

Merge topic 'fix_xdmf3_warning' into master

451a1fb4 Fix a warning (variable shadows a parameter)
parents 1c9fa883 451a1fb4
......@@ -81,8 +81,8 @@ public:
for (unsigned int i = 0; i< mbds->GetNumberOfBlocks(); i++)
{
vtkDataObject *next = mbds->GetBlock(i);
const char* name = mbds->GetMetaData(i)->Get(vtkCompositeDataSet::NAME());
this->WriteDataObject(next, hasTime, time, name);
const char* blockName = mbds->GetMetaData(i)->Get(vtkCompositeDataSet::NAME());
this->WriteDataObject(next, hasTime, time, blockName);
}
this->DestinationGroups.pop();
this->Destination = this->DestinationGroups.top();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment