Commit 06d29a39 authored by Corey Wetterer-Nelson's avatar Corey Wetterer-Nelson
Browse files

fix variable shadow warning

parent e26f807b
Pipeline #248394 waiting for manual action with stages
......@@ -926,7 +926,7 @@ void vtkAMReXGridReaderInternal::GetBlockAttribute(
{
int compIndex = this->Header->parsedVariableNames[attributeName][i];
std::string compName = this->Header->variableNames[compIndex];
size_t offsetOfAttribute = this->GetOffsetOfAttribute(compName.c_str());
offsetOfAttribute = this->GetOffsetOfAttribute(compName.c_str());
is.seekg((linefeed + 1) + (offsetOfAttribute * (numberOfPoints * ird->numBytes())));
buffers[i].resize(numberOfPoints * ird->numBytes());
this->ReadBlockAttribute(is, numberOfPoints, ird->numBytes(), buffers[i].data());
......
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