Commit cbf8c3ab authored by Sean McBride's avatar Sean McBride
Browse files

Fixed clang analyzer warning about 2 dead stores.

First store is useless because 'continue' statement results in it being overwritten in the next loop.  Second is useless because value is always overwritten later before it's read.

Change-Id: Ibd5f44dc52a0e58559e4a096743fc78a509fac4d
parent bdba2eaf
......@@ -205,7 +205,6 @@ int vtkIntersectionPolyDataFilter::Impl
// Coplanar triangle intersection is not handled.
// This intersection will not be included in the output.
intersects = 0;
......@@ -329,7 +328,7 @@ int vtkIntersectionPolyDataFilter::Impl
if ( input->GetPolys()->GetNumberOfCells() > 0 )
vtkCellArray *cells = input->GetPolys();
vtkIdType newId = output->GetNumberOfCells();
vtkIdType newId;
vtkSmartPointer< vtkCellArray > newPolys =
vtkSmartPointer< vtkCellArray >::New();
Supports Markdown
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