Commit 845c2495 authored by Sean McBride's avatar Sean McBride

Remove a likely dead store

Change-Id: If2622b4bdbf1c85b392d208d18a8e2c826533941
parent 9d6d565c
......@@ -1398,20 +1398,17 @@ int vtkOrderedTriangulator::GetNextTetra(int classification, vtkTetra *tet,
vtkDataArray *cellScalars,
vtkDoubleArray *tetScalars)
{
OTTetra *tetra;
// Find the next tetra with the right classification
while ( this->Mesh->CurrentTetra != this->Mesh->Tetras.end() &&
(*this->Mesh->CurrentTetra)->Type != classification &&
(*this->Mesh->CurrentTetra)->Type != OTTetra::All )
{
tetra = *(this->Mesh->CurrentTetra);
++this->Mesh->CurrentTetra;
}
if ( this->Mesh->CurrentTetra != this->Mesh->Tetras.end() )
{
tetra = *(this->Mesh->CurrentTetra);
OTTetra *tetra = *(this->Mesh->CurrentTetra);
for (int i=0; i<4; i++)
{
tet->PointIds->SetId(i,tetra->Points[i]->Id);
......
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