Commit d3ba9c77 authored by Dan Lipsa's avatar Dan Lipsa
Browse files

FIX: remove warning declaration of ‘’ shadows a previous local

Change-Id: Iea6e6b0b30a21dfc532d5c89f193696d60f182a1
parent 9c7135b9
......@@ -1011,12 +1011,12 @@ int vtkExodusIIReaderPrivate::AssembleOutputGlobalArrays(
// Add mode_shape/time_step
{
vtkNew<vtkIntArray> arr;
arr->SetName("data_index");
arr->SetNumberOfComponents(1);
arr->SetNumberOfTuples(1);
arr->SetValue(0, timeStep);
ofieldData->AddArray(arr.GetPointer());
vtkNew<vtkIntArray> dataIndexArray;
dataIndexArray->SetName("data_index");
dataIndexArray->SetNumberOfComponents(1);
dataIndexArray->SetNumberOfTuples(1);
dataIndexArray->SetValue(0, timeStep);
ofieldData->AddArray(dataIndexArray.GetPointer());
}
vtkExodusIICacheKey infokey( -1, vtkExodusIIReader::INFO_RECORDS, 0, 0 );
......
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