FEM: Remove set but unused variable

This commit is contained in:
Chris Hennes
2024-06-21 15:31:14 -05:00
committed by Yorik van Havre
parent 2e85c4fd95
commit 94360c706e
2 changed files with 3 additions and 3 deletions

View File

@@ -411,11 +411,11 @@ void writeToFile(std::string fileName,
}
SMDS_ElemIteratorPtr nIt = elem->nodesIterator();
fprintf(fptr, "%d", EID);
for (int iN = 0; nIt->more(); ++iN) {
while (nIt->more()) {
nSrc = static_cast<const SMDS_MeshNode*>(nIt->next());
NID = nSrc->GetID();
fprintf(fptr, ", %d", NID);
} // for iN
}
fprintf(fptr, "\n");
} // while print
if (requiredType == 4) {